summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2014-11-25SC_DIMAN: PROTOTYPE: detect add/subtract operations.Andrzej Hunt
This is all a quick hack demo, could easily be refactored to 1/2 the size but will be discarded anyways. Change-Id: I99d533489d47b440f9688381380ca2806d8b25bb
2014-11-25fix fdo#79441 again and keep references to other sheets during sortEike Rathke
... also if other references are not updated. References to other sheets are never to be treated as relative during sort, they are always absolute, even if they have relative row/column part references. Broken again during the big sort mess. Even if there was a unit test, which didn't help as it got disabled / adapted to the change.. Change-Id: Ic0e61c5e1cb0728e20725c29e450ab0eb55c3305
2014-11-24Make whether to use OpenCL or not a global optionTor Lillqvist
Add a toggle to the "General" page. Change-Id: If35b1472032706b09a3bc3499c55cbd3ac2e13ac
2014-11-24these were just ids, shouldn't be backed by actual string resourcesCaolán McNamara
Change-Id: I639fafce2c4aa919b7f1f6c993dabecf16d312da
2014-11-24so these ResIds are only being used for the numerical valueCaolán McNamara
Change-Id: I21c67b56424de59d7231f8420055775cd5f67aae
2014-11-24show that GetImageManager never has a NULL moduleCaolán McNamara
and remove resulting dead branches Change-Id: I969c943b9ff7e56d22efb4eff5bee644f9792676
2014-11-24move RID_APPTITLE to desktop where its usedCaolán McNamara
rename the other ones and remove the unused ones Change-Id: I0e636cd5d1799e0f9cb815a4bfa20b16039ecb3f
2014-11-24coverity#1255908 Resource leakCaolán McNamara
Change-Id: I90b8e89eba915e46cc2288f4ff5bee725fc8a1fc
2014-11-24import @TERM and @CTERM functions from Lotus 1-2-3 files (related: fdo#86241)Andras Timar
Change-Id: I864ad87aa0455c323a5235fa1230d3f2ac3ffbb4
2014-11-24Remove superfluous and inconsistent whitespaceTor Lillqvist
Change-Id: I90fdf94aa01912e86015f7263b1dc81d20e53e8d
2014-11-24Bin commented-out unreachable 'break' statementsTor Lillqvist
Change-Id: If0f47a78bbffec5c2ebd33c552d0d8a300b48eb1
2014-11-24Reduce the amount of data by an order of magnitudeTor Lillqvist
Change-Id: I4a1deb2c1a0cfe67faef6a0d2e3d355b475eb9f0
2014-11-24Add AVERAGE testTor Lillqvist
Change-Id: I144858631f229685284622eb9975a168e61ff6c5
2014-11-24Add MIN and MAX testsTor Lillqvist
Change-Id: Ia8d5fdeb1e03009035136edeab991442b7d91c4b
2014-11-24Fix fencepost errorsTor Lillqvist
Change-Id: I4d22d535368569631be9c016f74b7c19b9019955
2014-11-24The initial value for PRODUCT should obviously be one, not zeroTor Lillqvist
Change-Id: Id054d66e716fb5b176b687afc5d4121f3fa13765
2014-11-24cid#1255906: Unchecked return valueTor Lillqvist
Change-Id: I94696b3da73eb74a04b531ee8a93854208cddbec
2014-11-24timers: callback useless, remove timer completely.Tobias Madl
Change-Id: I904a91b38d846841e24149f897962abb429878be Reviewed-on: https://gerrit.libreoffice.org/13062 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-23fdo#85486 - Clean up unnecessary enumerations from xenum.hxxRadu Ioan
Removed XLineStyle Reviewed on: https://gerrit.libreoffice.org/13029 Change-Id: I583575a04988ccf932374e411672ba14a3f3cb2f
2014-11-23make sure to check for formula first, fdo#80301Julien Nabet
Change-Id: Ie822d1a154b7b25437ce7e5d09eb399460823acf
2014-11-21Use group area listeners when deleting rows.Kohei Yoshida
Change-Id: I9ceb1cabf448349e087e4d5c4c2b1a75af91dd75
2014-11-21Dump formula group listener info.Kohei Yoshida
Change-Id: Idbad1451393c42c272465907312c64c65eba9525
2014-11-21Handle group area listeners correctly when deleting cells.Kohei Yoshida
Change-Id: Ic37084ed670f53e0354056f7bef54229971dd7c2
2014-11-21Add new-style test generation for SUM and PRODUCTTor Lillqvist
Intermediate commit, still a bit buggy. Also, bin the old code that was ifdeffed out. Change-Id: I747c1864e4858672f0fe0512215405885e52c3b5
2014-11-20Adjust InsertRow() for group area listeners.Kohei Yoshida
Change-Id: I813b45d015eb1ae8dc7bd1242152ef734b5fe08c
2014-11-21Some of our supported compilers still don't have 'override' it seemsTor Lillqvist
Change-Id: Ie3ca1636657b90fd5bc193aa7595f95f44d43915
2014-11-21Re-factor the OpenCL quality test spreadsheet generating codeTor Lillqvist
Be more elegant, avoid hardcoding stuff, use more C++ features. (Not complete yet. Only did the math and trig functions and arithmetic ops so far. New style test generation for AVERAGE, SUM etc not yet done. Old code still left in #if 0 for reference.) Change-Id: I50068852eacf7f0212b2a7ea077021713c8e9978
2014-11-21Mark InsertTable SC_DLLPUBLIC, will need it in next commitTor Lillqvist
Change-Id: Ia105bc5348c3745398ea0e90cb142c3282d688f5
2014-11-20Add string for transl. and "Test statistic" for Chi-Square TestTomaž Vajngerl
Change-Id: I711c70a56021dfbba867e38a32331e662a6bb9d4
2014-11-20Use U_SUCCESSTor Lillqvist
Change-Id: If16848fc47bfa28c30c9ce4b547aeb68cf166d90
2014-11-20One more IsMapMode() -> IsMapModeEnabled().Jan Holesovsky
Change-Id: Id8e5ca61eedb7607b5ef9d7e67bee47c87d4990b
2014-11-20No need to start listening in CalcAfterLoad for xls import.Kohei Yoshida
We do that prior to it, and in fact, doing it here would unregister all group area listeners and re-register non-group ones, which is massively slower with huge documents. Change-Id: I693f681df05f036eb1aa53554e601066c469f49a
2014-11-20Use regexps in the OpenCL blacklist/whitelistTor Lillqvist
Drop version number bounds, use regexps instead. Not entirely ideal, but as vendors are free to put arbitrary stuff into the driver version string (part of which might be numbers, part free text, part significant, part just informative), just comparing against lower and upper bounds with strverscmp() was not ideal either. Change-Id: Ic4ef4d8e15f79f1c96e6e03f6c01e62ae92dc2fc
2014-11-20fdo#83765 do not update references in SortReorderByColumn() if disabledEike Rathke
Similar to SortReorderByRow() Change-Id: I11dd710c00a56a5f56aeb048fa2258631555a220
2014-11-20Add tests for vectorized binary ops + - * /Tor Lillqvist
Change-Id: I0ea36081416ba3b44e57e12b172c00fa27d4e653
2014-11-19Use group area listener when entering a new single formula cell.Kohei Yoshida
Change-Id: I01dc4537919b69a312e92ede2ae00fbe7d781bd7
2014-11-19Add COUNTTor Lillqvist
Change-Id: Ibdff629c3653d43e08b5200a7babb7ff05a7b5ac
2014-11-19Add opcodes for binary operators + - * /Tor Lillqvist
These are of course very common, and one would hope they are correctly implemented in our OpenCL code. Change-Id: I0ca6d3983502b18a1ea56522d4f20673ad94357d
2014-11-19Test also MIN, MAX and PRODUCTTor Lillqvist
Change-Id: Ibbc4c65271142b63c85d08ab4c9162ba96d32b6a
2014-11-19Resolves: rhbz#1165444 abrt crash with NULL pViewCaolán McNamara
Change-Id: I37f02f16209f274cf0358defba6bfa109948990f
2014-11-19Don't use OpenCL for RAND by defaultTor Lillqvist
The current implementation from 60ae598d537c14283109e1c6de22ec43a0147bcf is so broken it isn't even funny. Change-Id: I962d2643d21283340646893bb7892fb2a3d0c2e3
2014-11-19-Werror,-Wabsolute-valueStephan Bergmann
("using integer absolute value function 'abs' when argument is of floating point type") Change-Id: I8c091049b44dd44ec44124055c160a024ec658a5
2014-11-19coverity#1242708 Untrusted loop boundCaolán McNamara
Change-Id: Ic5af417ad38cafa46051789574239996a8845ffb
2014-11-18Use group area listeners during ODS import.Kohei Yoshida
Change-Id: Id01f9021dda7f33255f8206174cd730507ab55ad
2014-11-18Use group area listeners when filling down formula cells via fill series.Kohei Yoshida
Change-Id: Ib0d4f542986dc09968cad8b76da9d6e034eddd37
2014-11-19Generate OpenCL test doc programmatically, first versionTor Lillqvist
Tests RAND, SUM, AVERAGE, SIN, COS, TAN, ATAN, SQRT, EXP, LN at the moment. More will be added. Does not yet automatically add to black/whitelist. Change-Id: I2ca24632630937ee5559fc86453e40178e89973f
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18Combine StartAllListeners() and StartNeededListeners()...Kohei Yoshida
And call the new method StartListeners(). This also adjusts what was previously StartAllListener() to be group-listener aware. Change-Id: I74de45c00f5b8ef232eea9fe3b93aa44d1d8855b
2014-11-18Let's not re-use the same iterator esp when it's still iterating.Kohei Yoshida
Change-Id: I1752857bc036f8d389b4b71d570cf83a76ef29ea
2014-11-18Add a 'Test' button to test the machine's OpenCL implementationTor Lillqvist
Does not yet do anything, but will essentially run a "unit test" of the OpenCL functionality required by the default subset of opcodes. Change-Id: I230f6232c90562ea56057347fb0dc088f98c215d