summaryrefslogtreecommitdiff
path: root/sc/Library_sc.mk
AgeCommit message (Collapse)Author
2016-10-04These are just floating windows, no need for all the special intrastructureCaolán McNamara
get rid of the roundabout way that these popups are popup controllers (of a kind) for real popups for the moment keeping them as loaded from resources Change-Id: I083e8609ab133e3dc4a036daf8bfb44c08a6719f
2016-09-19tdf#96453, tdf#100793 rework transfer of data between cond format dlgsMarkus Mohrhard
The xml based transfer of information was a bad idea from the start. It can obviously not transport the temporary conditional format information from the manager dialog. Therefore the whole handling here was completely broken and deleted formats came back, changed formats were not saved and added formats got applied directly to the document. Now the document fornat list and the one from the manager are indepedent again and as long as the manager has not been closed with ok nothing is written to the document. Change-Id: I9802be11cd15c2d2d877e55c91d836735fe0e0ff Reviewed-on: https://gerrit.libreoffice.org/28995 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-16tdf#30456 Enable to empty or not merged cellsLaurent Balland-Poirier
Insert options during MergeCells to empty hidden cells Three options: - Move contents to first cell (previous Yes) - Keep contents in covered cells (previous No, default) - Empty covered cells (new option) To be done: link to the help system https://gerrit.libreoffice.org/27467/ Change-Id: I98e85296591cce8ba789d282cead1f1010e5e2ce Reviewed-on: https://gerrit.libreoffice.org/27463 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2016-06-18uitest: add wrapper for calc's gridwindowMarkus Mohrhard
It already supports selecting cell ranges. Change-Id: I8c3e4a42dea8956e2429b82b50ff8506c1774bbb
2016-06-01notebookbar: working number format listboxSzymon Kłos
Change-Id: I1555934646148b9cd4164cbaaf09dcb9affe861e Reviewed-on: https://gerrit.libreoffice.org/25579 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-12Move clew/clew.h into external, tooStephan Bergmann
For consistency with what 38cd1d9a5f00dc69ba0d60e2fe6957090c7a26d1 "clew: move this foreign code to external/clew" did for clew.c. Library_scfilt depends on clew/clew.h, simply make it depend on the full clew external. Change-Id: Idcbf56a69084e108832c8970507ebea0f7ff400b Reviewed-on: https://gerrit.libreoffice.org/24035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-03tdf#94635 Add FORECAST.ETS functions to CalcWinfried Donkers
Change-Id: Ifbfff1c27fb3960a06f467630da0fa39665f0ce4 Reviewed-on: https://gerrit.libreoffice.org/20073 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-02-10Refactor ScMarkData for tdf#50916Dennis Francis
Made the container for storing multimarks dynamic. Also let the full row marks to be stored in a dedicated ScMarkArray object rather than in the multimarks container. Unit tests for ScMarkData and ScMultiSel will come in a follow up patch. Change-Id: I300ff80bebd6f4f39c284c1e8cb7deece82c1bec Reviewed-on: https://gerrit.libreoffice.org/22163 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-04Patch#1 : Dynamic column container in the pursuit of tdf#50916Dennis Francis
In this patch dynamic column structure is introduced, basically wrapping std::vector<ScColumn*>. In ScTable the column container is pre-allocated with MAXCOL + 1 columns so that the rest of the code that uses need not change for now. So for now the new column container will still behave like the static one. The plan is to *incrementally* modify all instances of iterations over columns to make use of the dynamic column container and also to address the issues mentioned in the thread : http://nabble.documentfoundation.org/tdf-50916-Calc-Dynamic-column-container-td4162663.html The final step would be to remove the pre-allocation of the container in ScTable constructor and increase of MAXCOLCOUNT Change-Id: I3ff18cdebc99d8348e06a76f287d1d30279366bd Reviewed-on: https://gerrit.libreoffice.org/21620 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-01-22Move sc/source/ui/dbgui/validate.cxx from scui to scStephan Bergmann
8d1a24dae03690b576310e3539369916f31ac475 "Make virtual ~ScValidationDlg non-inline" caused the RTTI for ScValidationDlg to only be emitted in library scui instead of (weakly) wherever needed. That causes UBSan to fail when it uses the RTTI in ScValidityRefChildWin::ScValidityRefChildWin (sc/source/ui/view/reffact.cxx, in library sc, to check that operations on VclPtr<ScValidationDlg> pDlg indeed operate on an ScValidationDlg object). The cleanest fix appears to be to move ScValidationDlg from scui to sc. As Moggi put it on IRC, "that dialog should be in sc as it is a modeless dialog; no idea why it works for that dialog but all other modeless calc dialogs have to be in sc to avoid linker problems." One remaining question is whether it is save nowadays in ScCellShell::ExecuteDB (sc/source/ui/view/cellsh2.cxx) to clean up the ScValidationDlg pointed to by pDlg when that VclPtr<ScValidationDlg> variable goes out of scope, instead of doing the PostUserEvent(... DelayDeleteAbstractDialog) dance that was there before because "after end execute from !IsModalInputMode, it is safer to delay deleting." Lets see. Change-Id: I3ecfd4fafc7b37b2f30e75974ece9b0a23311ef4
2015-11-08tdf#74667 Regression dialog: linear, logarithmic, powerTomaž Vajngerl
Add a new statistics dialog for calculating regression. First supported regression models are linear, logarithmic and power. Change-Id: I6fa18136455d4bc4d69edbaa7d19ee6b5b6e5703
2015-10-02Add a new file with matrix operators definitionsŁukasz Hryniuk
Change-Id: Ib42d0d51945f634a3052c387a0317d7a919a4d4b Reviewed-on: https://gerrit.libreoffice.org/17482 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-17ENABLE_THREADED_OPENCL_KERNEL_COMPILATION has been zero for a long timeTor Lillqvist
And I doubt we will try to turn it on again, so remove dead code. Change-Id: Iaa8908fdb5a197ef0d1da5eaf08ae08df2a86ee7 Reviewed-on: https://gerrit.libreoffice.org/18404 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-07-15Convert insert buttons to the generic controllerMaxim Monastirsky
Change-Id: If7c6c1c5000893fca4205162526b4b4035637c11
2015-05-22extract calc data dump method into own fileMarkus Mohrhard
Change-Id: Ifed8bb8165189243709078770b8735675fe86dea
2015-03-30add implementation for new conditional formattingMarkus Mohrhard
Change-Id: I4c283ec8a1f5b51c0274d9c520cd653be7f75aa2
2014-12-10Deteremine the script type of source cell during paste replication.Kohei Yoshida
Doing this ahead of time eliminates the need to update script types of all replicated cells after the paste. This makes significant performance impact. Change-Id: Ic4f7d7b2fe152bd5640ddb1dae01cc2ed757657e
2014-12-08Don't treat clew as part of an "external" clcc moduleTor Lillqvist
There is no obvious authoritative upstream for clew anyway, so it causes philosophical problems for distros. For a while, we used to use a zip archive from the "clcc" project on SourceForge that included clew.c and clew.h. (Before that we also just had clew.c and clew.h in our source repo.) So, drop the external/clcc module and have clew.c and clew.h in the source repo again. But this time clew is in a module of its own, not in sc. This re-introduces "No need to have OpenCL optional at configure-time" This reverts commit 764836cb00e8e6dfd2ab48e080a166ec90359e01. Change-Id: I413142f4f9f8399489f9c3e5327132822f07a454 Reviewed-on: https://gerrit.libreoffice.org/13368 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-11-27Move more Calc-independent OpenCL stuff from the sc to the opencl moduleTor Lillqvist
No cleanups yet. Just removed the "sc" namespace parts now when this stuff is no longer Calc-specific. There is still horribly confusing use of the same OpenCLDevice name for both a class and as a namespace, for instance. And the OpenCLDevice class has only public static members even, so effectively it acts as just a namespace anyway... Etc. Change-Id: Idc5f30a721df0101426c676f04a85e02c5dc8443
2014-11-27Fix OpenCL-less build harderTor Lillqvist
Change-Id: I1627f534505c735455c50f9b4f6e4d1c698ab9d2
2014-11-27Work in progress: Move Calc-independend OpenCL configuration out of scTor Lillqvist
Intermediate commit. More changes will follow: The device selection logic needs to be moved, too. (And cleaned up.) Instead of the separate formulacalculationoptions dialog we should simply have a normal options page for those OpenCL-related settings that will remain purely Calc-specific, like the formula opcode subsetting. Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
2014-11-25remove boost/unordered_map.hpp include from types.hxx.Kohei Yoshida
types.hxx is included by pretty much everyone inside sc. Let's not stick a boost header in there... Change-Id: Iaf2aa9e13d0e02437bcd9e71a0143432abfa0a7c
2014-11-25Need -lrt for clock_gettime() with older glibc versionsTor Lillqvist
Change-Id: Id134b05de3a81dd246baf8743c32fa8eb1e37935
2014-11-25Move clew into a library of its ownTor Lillqvist
Change-Id: Ifb7e86b078bd549506a9cc1b9ce9fc22fffc5eec
2014-11-18Dedicated listener type tailored for formula groups.Kohei Yoshida
Right now, it's only used when loading an xlsx file. But eventually this one should be used everywhere. Change-Id: I216c3a9a33c4b8040e8284d59299e0637471fb50
2014-11-18fdo#76868 Add chi-square test Statistics DialogTomaž Vajngerl
Change-Id: I35c115a1f1cb733a0d6841596d8baf2e5ade4a1d
2014-11-15fdo#74669 Add z-test Statistics DialogTomaž Vajngerl
Change-Id: I8169e9ceefc48c06b358d5a8e1fc08dabf019eb3
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-10-29Don't bother with a separate dynamically loaded scopencl libraryTor Lillqvist
Just link that code into the sc library. We use clew anyway to handle optoinal presence of OpenCL at run-time. This is a straightforward change for now. Could be cleaner; we could get rid of the fairly pointless wrappers in sc/source/core/opencl/formulagroupcl.cxx for instance. Change-Id: I23215c6516ef04698f6891e2a7fc6611dc83b37a
2014-10-22Try to determine whether or not a column has all 'General' number formatKohei Yoshida
during import. We'll then use this information to set script type to latin for all numeric cells in those columns rather than leaving the script type 'unknown'. Change-Id: I69eae1effc32c57290b0265bc6c87e58f51944b1
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-08Start sharing common code between DeleteContents of ScViewFunc/ScDocFunc.Kohei Yoshida
The goal is to have ScViewFunc::DeleteContents() simply call ScDocFunc::DeleteContents() while doing the view only stuff in the ScViewFunc variant. This is just a step toward that goal. Change-Id: I2e574f9eb2b2be5340dbfb6f10739dfc2406faae
2014-10-02New feature to allow converting formula cells to static values.Kohei Yoshida
You used to have to convert formula cells to static values by copying them and pasting them as values onto the original place. Why not just allow converting them in place? This is something I've always wanted to implement.
2014-07-13fdo#81309: Adjust references during sort.Kohei Yoshida
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
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-09callcatcher: update unused codeCaolán McNamara
Change-Id: I954a5dd88cb9ae9a2a36509507385e68b88f8cd5
2014-05-07let us use the new OpenGLWindowMarkus Mohrhard
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
2014-04-24sc: Add F-Test to StatisticsTomaž Vajngerl
Change-Id: I31281e863d82a211d7cca897f3e65a0ecfcb5f6b
2014-04-17More generic way to disable avmediaTor Lillqvist
Introduce a configure option --disable-avmedia. For non-desktop, avmedia is always disabled (for now), and for desktop enabled by default. Add AVMEDIA to BUILD_TYPE when enabled. Don't build avmedia when disabled. Add HAVE_FEATURE_AVMEDIA to <config_features.h>. Bypass avmedia-related code when disabled. Change-Id: I919c6e199bff87d9f142d55dff6373f0ed217f39
2014-04-12Unnecessary to mention dependency on icudata as only libicuuc directly uses itTor Lillqvist
libicudata exports a single symbol, icudt52_data (for ICU version 52), and only libicuuc refers to it. Change-Id: Ia04356fda20cf8109156ccd1cbbd9091e70adf27
2014-04-04callcatcher: remove old pivot table dialogCaolán McNamara
Change-Id: I9e80a0d6661c29343103a27baa752cebbc876314
2014-03-31pivot: new pivot table layout dialogTomaž Vajngerl
This commit adds a new pivot table layout dialog which was implemented from scratch. Instead of custom controls this one uses list boxes for field entries which greatly reduces the code. It also fixes some visual and behaviour bugs and adds the possibility to edit the "Data" field. Change-Id: I6c01252acee5a2e8910e40e65904504d00e03057
2014-03-15fdo#71491: Adjust reference during undo of drag-n-drop of cell range.Kohei Yoshida
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-09fdo#75960: Process pivot tables after named ranges are all set.Kohei Yoshida
Especially for those pivot tables that reference named ranges as their data sources, it's critical that we process them after named ranges are set. Else things would start to fail. Change-Id: I4bf8aa1a844aae3953f2dfbeba0e4d2542a7e53f
2014-02-13Unify scmod and scmod2Marcos Paulo de Souza
Change-Id: Ib086ba744ac3f5fbd8e96ceda73e9fe2d578929f Reviewed-on: https://gerrit.libreoffice.org/8036 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-12fdo#74825: fix missing lcms2/libxslt/curl in installation setsMichael Stahl
The assumption that all configure variables had been normalized to TRUE/<empty> turned out not to hold; convert a bit more in that direction. (regression from 4af38b099c741c3676aefeb20c515913aaeed666) Change-Id: I2127c515e8a833a07c9b26ed9d693ce5a1853fe4
2014-02-10the return of callcatcherCaolán McNamara
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-01Add RowHeightContext to stuff all parameters for SetOptimalHeights().Kohei Yoshida
To help reduce the number of function arguments. Change-Id: Ic29fff38f6cd844bdaac8ac4b440dfcaba55df61
2014-01-30Speed up filling of random number generation over entire column.Kohei Yoshida
Because nobody wants to wait forever... Change-Id: Ie52bff944893b7e3fe9e7908be19d27c692fc1ea
2014-01-24Optimize copy-n-pasting of single cell replicated over a range.Kohei Yoshida
This is a very common operation. Let's speed it up a bit. TODO : Handle cell comments. Change-Id: I5442bf19008475a9427b889c1eb641cacd8ff161