summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-02-06Improve OpenCL error messagesTor Lillqvist
Add the name of the function that failed to the OpenCLError class. Log OpenCL failure in a couple of more places (where OpenCLError is not thrown). Print OpenCL errors symbolically instead of numerically where applicable. Change-Id: I60f910e9ea7b75af7ec506553d7a73ad99ba4366
2015-02-06Move OpenCLError::strerror() from sc to opencl, and rename to errorString()Tor Lillqvist
There is nothing Calc-specific in this function, and surely it will be good to output OpenCL errors symbolically also in the opencl module. Change-Id: Ibe7d0d036f24dd87e06b8290224e1033dda0f3d1
2015-02-06The ISNAN ifdefs can go awayTor Lillqvist
ISNAN was defined unconditionally since long, and even the original authors of this stuff started removing those conditionals last summer. for F in `git grep -l ISNAN sc`; do unifdef -DISNAN -B -o $F $F; done Change-Id: I61df4066d0ecc23b6ce26bac8f3fbdfaf4aceac4
2015-02-05try to avoid overflows in some compare functionsMichael Stahl
Change-Id: I6144d7d6527dc401b7f1b577d1a227361e39e7bb
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05Related tdf#87356: import data bar [non-]gradient from OOXMLKatarina Behrens
Strange, I somehow believed this already works not only for ODF but also for OOXML. Wasn't the case Change-Id: I5e06fd7bccbe2e59b13f9f56188374193b10a009
2015-02-05Revert "ODF export: don't write invalid "group-name" attribute"Lionel Elie Mamane
This reverts commit 2d4b87f0c1bfd97185a89c18d5b7680d11a958d6. The reverted commit leads to the following regressions: - Basic dialogs (which were not targeted, but impacted, by the reverted commit) with several RadioButtons sharing a group-name (as they will have a tendency to do) cannot be loaded anymore, since the implementation assumes (and checks) that names are unique. - Even in forms, where a RadioButton had both a form:name and a form:group-name attribute, the form:name attribute wins and thus RadioButtons that has the same group-name but different form:name (as they will tend to do) will not anymore be mutually exclusive, which defeats their point. Additionally, since it did not change the UI parts (property editor window), the user was still presented with two different editable properties "Name" and "Group Name", where "Group Name" was empty... Change-Id: I1bff532a5a7336cf2eb0579bcd4e2d16be6480fe
2015-02-05Resolves: tdf#88792 do not hold a ScFormulaCell** in group area listenerEike Rathke
... as the mdds storage segment may change when a formula cell is inserted at a position such that two segments are merged into a new one. Change-Id: I449a89005418aff7ea12099ea931b786959dbc3b
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-04Seems that BS() does something else than I thoughtKatarina Behrens
XclXmlUtils::ToPsz is the one I needed Change-Id: If4aee9a2a9c943535d7e07b08f61b419ac2c8a22
2015-02-04Add Add, Sub, Mul and Div back to the default OpenCL opcode subsetTor Lillqvist
The code falls back to the traditional interpreter when necessary. This reverts commit ad582ce757f671a6271648e22a136f2d238cc15e. Change-Id: I4cbafba2c469c0814dcc5c5210db5ce495e6b641
2015-02-04Check number of cells referenced by group instead of group sizeTor Lillqvist
Put using it in #if 0 for now, though. This reverts commit 2021275f8fc33d9917d5fef58959a95da1dc7e6f. Change-Id: Ia6541df12ee97747badbbedd758873688190b00c
2015-02-04coverity#1242895 Untrusted loop boundCaolán McNamara
Change-Id: I5d97849e46db5e4582387ade085134fdde6a0358
2015-02-04coverity#1266450 Explicit null dereferencedCaolán McNamara
Change-Id: Ie675dc47d6008aa3ce947f8969895f32eb20b8c4
2015-02-03Typo: selction/slection -> selectionJulien Nabet
Change-Id: I3f405d9525d3afb6534166fd733cabf7779a2846
2015-02-03Fix TYPEINFO_VISIBILITY vs. TYPEINFO_VISIBILITY_OVERRIDEStephan Bergmann
Change-Id: Ia6494c611e6596fa4811c2751bb96294a3950f17
2015-02-03more build fixingMarkus Mohrhard
2015-02-03try to fix the buildMarkus Mohrhard
2015-02-03add some SAL_INFO to group area listener and formula cell ctor/dtorEike Rathke
guess we'll need them more often.. Change-Id: I0ef149fc5edceee765419764bf0efa571ba9d977
2015-02-03tdf#39468 translate German variable in sc export filterChris Sherlock
Change-Id: Icdd126714b988517bdbbe49b203951afd92f8a17 Reviewed-on: https://gerrit.libreoffice.org/14297 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-02-03tdf#39468 translate export option comments for sc filterChris Sherlock
Change-Id: Id8136d3d35436d5e81ff79b9c548474128e9c076 Reviewed-on: https://gerrit.libreoffice.org/14296 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-02-03sc: typo in OSL_ENSURE (XclExpChLabelRange::Convert)Chris Sherlock
Change-Id: I1bfd54fccc6a40a7a845317975a5d5e232b290e9 Reviewed-on: https://gerrit.libreoffice.org/14299 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-02-03callcatcher: shave off some moreCaolán McNamara
Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
2015-02-03Related tdf#87356: export data bar [non-]gradient to OOXMLKatarina Behrens
Change-Id: Ibdbad2f8b5471698337fb7838dadd6188b1add7d
2015-02-03tdf#87356: Enable switching between gradient and solid fill data barKatarina Behrens
Could use a checkbox instead of listbox here, since our LB has only 2 values, but with listbox it'll be easier to add more fill types in the future Change-Id: I67cd94b9b49b06434e4a22788b032425c3728e7f
2015-02-03tdf#88960 Scientific format: add/remove digits with buttonsLaurent Balland-Poirier
Use buttons "Add Decimal Place" or "Delete Decimal Place" to change the number of significant digits with scientific format (also works for "General" format) Improve format management for "red for negative" to be compatible with tdf#88999 Change-Id: Id681afc4fc73674c9823172c6cd71925e63b867f Reviewed-on: https://gerrit.libreoffice.org/14264 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03tdf#88999 Modify number of decimal for scientific also (UI and Sidebar)Laurent Balland-Poirier
Scientific format was excluded from being able to increase/decrease number of decimals, red for negative or thousand separator in UI Format > Cells > Numbers and Sidebar > Number Format Change-Id: I56b175a26fc5ba46b9964390f9c098d5d93c73dc Reviewed-on: https://gerrit.libreoffice.org/14293 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-02Related: fdo#88455 crash using delete in available fieldsCaolán McNamara
Change-Id: I4ac5fe6f42b425ee96124b2dde39ff397a081638
2015-02-02callcatcher: shave off a few moreCaolán McNamara
Change-Id: Ie48cf7f89c8c826e56409c2493e1e1250086f10a
2015-02-02add disabled test code for tdf#40110Markus Mohrhard
Change-Id: I44eb0d4ecde55cb9c29c39782488e673c8b582e9
2015-02-02disable failing testMarkus Mohrhard
I don't see the error outside of the unit test Change-Id: I56f3d757c4b78e04a3cd340d54612f0b33537a73
2015-02-02fix tdf#43700 test case codeMarkus Mohrhard
Change-Id: I2bb6aa16e7f3a752208b139527807e03bd962eb7
2015-02-02add test for tdf#43534Markus Mohrhard
Change-Id: Ib707c418bc501449fa5dab70d56b3b961f6e6169
2015-02-02add test file for tdf#43534Raal
Change-Id: Icdcf1928bcec25c655baeeeafb7962e07a82e5cf
2015-02-02implement test for tdf#43700Markus Mohrhard
Change-Id: Ifcdee2fb31fef635003e62020dd92adfe5d72b2f
2015-02-02add test file for tdf#43700Raal
Change-Id: I60adc8b07d4c387a04baad0979bc338ffcb17d1d
2015-02-02implement test for tdf#36933Markus Mohrhard
Change-Id: I39fdda39c5fa0fea71ecdefe4df8b956de98868a
2015-02-02add test file for tdf#36933Raal
Change-Id: If1163bb72d9411d8d1f92fe0ff255244c674c34b
2015-02-02add test for tdf#64229Markus Mohrhard
Change-Id: I8f83aa311d5196504eeb61c0797f882b617474ea
2015-02-02add test file for fdt#64229Raal
Change-Id: I3bb728c07ddd06e57d034b7a07fea6bbc5437108
2015-02-02add a new calc testMarkus Mohrhard
Change-Id: I2634bd6039ad1a0bf6b2d06b232203130f42f329
2015-02-02callcatcher: remove some unused methodsCaolán McNamara
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
2015-02-02fdo#88826: replace MM100toEMU() by convertHmmToEmu()Juan Picca
Change-Id: I9ca79dfa0c214e3f58b7f45a78ad0877d4c7d10a Reviewed-on: https://gerrit.libreoffice.org/14266 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-02-02coverity#1242895 Untrusted loop boundCaolán McNamara
Change-Id: I2d38746e8ed23a5fb51ee94a72b5676bae3c8710
2015-02-02Resolves: #i105692# rearrange the order of the controls and fix name of typeCaolán McNamara
Change-Id: I8f0cc916fc09af68436e7daafce9288097fe3be2
2015-01-31coverity#1267677 Big parameter passed by valueCaolán McNamara
Change-Id: I04a96e13eb4f17a6fa91435eff104fd95a902cf2
2015-01-30fix buildCaolán McNamara
Change-Id: Ib2ab6140c45b858acbe0b97870d2d64c7189d875
2015-01-30tdf#88810 cleanup (append() for number to string conv.)László Németh
Change-Id: I800c8c4a2cb55a8d9f46a5c5cf1f79dd44051dfe
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-29parse with locale decimal separator, tdf#88740 relatedEike Rathke
And use a proper string to double conversion and early bail out conditions. Change-Id: I6c89dd850405ad74ebd175800131cdcac19a8c86