summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2013-03-22add import test for color scalesMarkus Mohrhard3-0/+110
Change-Id: Ie85f8efd520aaf4e10b560c637a74fbd9e25530b
2013-03-22update the test filesMarkus Mohrhard2-0/+0
Change-Id: I0285e9d6739e7f2a9882fd19f03524482128e2d2
2013-03-22we need to copy the formula cell as wellMarkus Mohrhard1-0/+7
Change-Id: If73ca17414a1aac1ce9efe5a56b0b1f499014fa0
2013-03-22add import test for data barsMarkus Mohrhard3-0/+80
Change-Id: Ida98e51a7f9970c7d4c845f5a6ac1566cbed9e3a
2013-03-22prevent crash if formula is emptyMarkus Mohrhard1-2/+7
Change-Id: Ib7bb245fa0c59c9a56441d4c45584b40193b0a32
2013-03-22let us use ScBootstrapFixture::loadDoc hereMarkus Mohrhard1-24/+2
Change-Id: Ia5d29da921e53b8443541e5f69e2bbc7fd99edfa
2013-03-22make method name consistentMarkus Mohrhard1-3/+3
Change-Id: I5fd08be86c68b788510d04ff6df6c3938c43e625
2013-03-22remove disabled testsMarkus Mohrhard1-103/+0
Change-Id: I56490efc131cb25baa279b6f8204cf8f5d3af8c4
2013-03-22this return value is always trueMarkus Mohrhard1-3/+1
Change-Id: I90314f334e8b318d615e18fb0689297a8e4cfea7
2013-03-22replace auto_ptr with boost::scoped_ptrMarkus Mohrhard1-3/+1
Change-Id: I0775e436774308ce7a93b991f7806a429f1480ea
2013-03-21regenerate pchPeter Foley1-0/+5
Change-Id: Idacefb2e89dc2f8bd44e489b43b47847123476e2
2013-03-21-Werror=unused-parameterStephan Bergmann3-3/+3
Change-Id: If9e6e4be2d4d0b22b636e355a9f00748cdeb2d55
2013-03-21fdo#55430 allowing click-from-textmode without causing fdo#61025Lennard Wasserthal3-2/+36
the last fix for #55430 caused #61025. Markus Mohrhardt fixed that with by removing parts of the calc part in 16f6ef0423cd0fd7c0e50ee28e8b32e72e21e090 I got it back where it causes no harm to the labels. Change-Id: Ifb366a004701d7ec93b66662e14dba850d500e60 Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/2786 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20Remove redundant "const" to silence bogus MSVC warningsStephan Bergmann1-1/+1
Change-Id: Ice6615b4b0c9367efc278c3b399f6c35ede6fcd7
2013-03-20fdo#39468: Translated German commentsgerhard oettl1-61/+61
Change-Id: I840ab979486a8cdfed4b19f4966eef1b9f287a5b Reviewed-on: https://gerrit.libreoffice.org/2847 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20-Werror=undefStephan Bergmann1-2/+2
Change-Id: I0358e4f0d6fe40f37a1db1375600765817f3f19d
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák3-10/+10
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-20WaE: class 'ScFormulaCellGroup' was previously declared as a structTor Lillqvist1-1/+1
Change-Id: Ic7c1cb8ef7e39243277ceb9a219e2b4684130587
2013-03-20'size_t' is not the same as 'unsigned long'Tor Lillqvist1-4/+4
So using %lu to printf 'size_t' is not 100% portable either. At least in 64-bit Windows code 'size_t' is 64 bits but 'unsigned long' is 32 bits. Let's just use 'unsigned' for the loop indexes here (and %u as the format). After all, they are single-digit numbers. Alternatively, could just use C++ stream output for this purely informative printout. Change-Id: I604e1c6c6a910c86b5f1408bee1d9c2c7a8b76ff
2013-03-20fdo#46808, Convert XSLTFilterDialog to new-styleNoel Grandin1-7/+5
Also fixup servicename. Change-Id: I1ee6d4849a83fdd4f43bf266ef4d282b22b65f6e
2013-03-20fix the object name so it matches the cppunit make file nameNoel Grandin2-22/+22
.. which is useful when a unit test fails and I need to find the correct makefile. Change-Id: I5277840b8304e4e1e5ec3490bb665fcce4945741
2013-03-19coverity#735382 Copy-paste errorJulien Nabet1-1/+1
Change-Id: I7f033b189feee848dff1e3682be04a9b2f76fae8 Reviewed-on: https://gerrit.libreoffice.org/2854 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-19More on removal of direct use of cell classes outside ScDocument.Kohei Yoshida12-54/+161
Change-Id: Ie888b3494334613b5e4bcf97019b6dfbbd1a5da1
2013-03-19-Werror=format, "fix %d expects argument of type int"Julien Nabet1-1/+1
Change-Id: I654d035bc79ba157c6fdd01edf7930ef05f7b970
2013-03-19calm debug, and disable unless SC_FORMULAGROUP=1Michael Meeks4-5/+13
Change-Id: I091d43dfa33f440edd50a1c937ef6e6f1930be4e
2013-03-19Remove use of ScBaseCell and its derivatives outside ScDocument.Kohei Yoshida21-64/+127
This is still work in progress. Change-Id: Ifcdbefbdd307a2a8819b073d896e90a16980781e
2013-03-19This ScFormulaCell member is not used. Also remove cell.hxx include...Kohei Yoshida3-3/+1
Change-Id: I5d188bb080943acc4b8e4ae44a4c8ef01a837c2f
2013-03-19start of InterpretFormulaGroup.Michael Meeks3-7/+92
handle column invariant formulae, sketch comment more work, elide Matrix formulae. Change-Id: I9ce4da26b0ad2407021a10f21c81ada80442c76d
2013-03-19get row offset calculation right for groups.Michael Meeks1-2/+3
Change-Id: Id65174bbb70a4387cddb985d0556a3bcd692d671
2013-03-19Tweak hash generation code to NOT rely on 'i' to shift bits.Kohei Yoshida1-14/+17
Because 'i' can get very large. Change-Id: I1c7fcafaa60b14f709861f32c56defc7bcaee451
2013-03-19build spans of doubles and cleanup excessive debug.Michael Meeks4-25/+94
Change-Id: Ib76596cae12c87825118903cc61b12c251f0c1b7
2013-03-19use cell hashing algorithm for computing groups.Michael Meeks3-20/+23
Update unit tests, dumb-down hashing to compare more for similiarity rather than identicality - we want to use this down columns. Change-Id: Icea731daeb301e1febb2df48b6b46c9faba74e9d
2013-03-19Unit test for formula token array vectorization state.Kohei Yoshida1-0/+34
Change-Id: I91dce36e56d86899ba506beb29df6188f10966c0
2013-03-19Reduce dependency on document.hxx. Prefer forward declaration.Kohei Yoshida17-27/+51
Change-Id: I9b0c86735284ec435cceb3acd9bad97a6e523a74
2013-03-19Add accessor to ScDocument for formula cell's vectorization state.Kohei Yoshida12-23/+83
Change-Id: I3c781764c6375dadb173bc5ab3cfb79857e2aeca
2013-03-19First cut on checking the token array on whether we could do vectorization.Kohei Yoshida2-2/+88
Not tested yet. Change-Id: I87f8a8595229d8d8e83526dc0334891d253cf2c7
2013-03-19Generate token array hash exactly once, when the string is tokenized.Kohei Yoshida3-6/+19
And CompileString() is the place to do it, to the best of my knowledge. Change-Id: I249df5d09aa288eacc2b2c7ad6e5fc947a3c225f
2013-03-19Fix build breakage.Kohei Yoshida4-3/+8
Change-Id: I94b9d17a045a9c17d9e97aa582d7572e0a21809b
2013-03-19add initial formula group unit tests.Michael Meeks3-7/+69
Change-Id: Id4dd3cc0d3d8a4db641e316d2eda44a5b94105c7
2013-03-19Embed reference tokens in the generated hash values.Kohei Yoshida2-44/+78
Also make the test code a bit easier to extend. Change-Id: Ib4e381cc139231884999c9d0dc9f51201e11f807
2013-03-19Move GetHash() from FormulaTokenArray to ScTokenArray.Kohei Yoshida2-0/+54
To allow access to reference tokens. Change-Id: I3e2d2653722005c04b6d26e1a4ddfce0a459ef37
2013-03-19Fix minor stuff in the test code...Kohei Yoshida1-2/+3
Change-Id: I6c1ebf29d357c1a575a8b7d5421043ddec44f0af
2013-03-19Implement (partially?) and test formula token array hash function.Kohei Yoshida7-0/+99
For now, we don't factor in any differences in reference tokens in the generated hash values. Change-Id: Ie9836228eaad9c74edd884c3e8c4b273979760fd
2013-03-19re-build formula groups inside Interpret instead.Michael Meeks6-0/+25
Change-Id: Ied1b82011b88f4eacfd5285176f58bf56c057f67
2013-03-19don't re-build formula groups just yet.Michael Meeks3-4/+15
Change-Id: Ibd7677e9e4f695be883cb20d3182cc8a8501f855
2013-03-19Skeleton for generating a hash value from an array of token.Kohei Yoshida2-0/+7
To be implemented... Change-Id: I4704f06b50dcc9dd5e1af9c3531ecd498015811c
2013-03-19initial detection of similar formula runs.Michael Meeks6-4/+247
Change-Id: I5659c46668a0d0a6ef67368a4e6bbf0d99a6a80e
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold43-109/+109
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann9-12/+12
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold162-782/+773
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>