summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-06LOK: Calc: page-up/down - cursor moves far more than a pageMarco Cecchetti
Change-Id: I1253044f26553dab08bc2a38c706f634e9377c86 Reviewed-on: https://gerrit.libreoffice.org/29578 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2016-10-06rtl::math::approxEqual(value,0.0) never yields true for value!=0.0Eike Rathke
... so replace with a simple value == 0.0 Change-Id: I66bb05517467ff6f5e08852024ef6e067e6d6883 Reviewed-on: https://gerrit.libreoffice.org/29570 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-06tdf#101813 sw,sfx2: enable inserting master document as sectionMichael Stahl
Traditionally only ordinary com.sun.star.text.TextDocument could be inserted as a section but then commit 3da8f3680556e0163f660a0a159930337c8c32ff unintentionally enabled inserting everything, including master documents (com.sun.star.text.GlobalDocument). I'm really not sure if this should be allowed or not but apparently somebody finds it useful so here we add some crude hacks to enable it (to be reverted in case it causes trouble). (regression? from 805fd1ca343d6295b8114a24cc29bdac332f266d) Change-Id: I439b2516fcbe54977ff04e487a920acd38c27152
2016-10-06remove approxEqual() from OpenCLEike Rathke
It's only use was approxEqual(value,0.0) which doesn't yield true for any other value than 0.0, so replace with value==0.0 Change-Id: I9f4f496c94c2a24e934a1d33c070a070e4f2e1c6 Reviewed-on: https://gerrit.libreoffice.org/29576 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-10-06coverity#1373441 Side effect in assertionCaolán McNamara
Change-Id: I10a8298e5379fa93a5d3616202a7802c0eda1cbb
2016-10-06drop loading Colors from src filesCaolán McNamara
Change-Id: I43f2fda133371a1284a53beeeb774552210c7e3f
2016-10-06loplugin:fpcomparison: also look into member functionsStephan Bergmann
By accident, the plugin had only looked into non-member functions until now. However, for the vast majority of newly found cases, it is unclear to me whether the relevant code needs fixing or not, so I put all those into a giant whitelist for now. Maybe the plugin's sginal/noise ration just isn't worth it, anyway. Change-Id: I7997a0ebdb4211af208285611656a40ead97d935
2016-10-06Simplify AstExpression::compareStephan Bergmann
...to only work with LONG values, as it is only used to compare enumerator values. (But keep its general defensive-programming air that's so prevalent across the idlc code base; not sure whether it could rightfully be tightened, or whether this might be needed in parser's error recovery.) Change-Id: I15f1700834f9397f3c2e0ffdb00e2abeecb734f9
2016-10-06CPPUNIT_ASSERT[_DOUBLES]_EQUALStephan Bergmann
Change-Id: I417cea926abcc511e74a090ee90a851c138ac0c0
2016-10-06drop unused STD_MASKCOLOR definesCaolán McNamara
Change-Id: I9e6d499788467e5215464cf8f5146721b847909c
2016-10-06coverity#1373513 Uninitialized scalar fieldCaolán McNamara
Change-Id: Id035cb04c0cd7879d7075b7c1bcd0359564f2f0b
2016-10-06I can't see any evidence of any remaining magenta mask using image resourcesCaolán McNamara
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
2016-10-06Add FIXMETor Lillqvist
I just can't even. Change-Id: Iab3572847bcbe63cb3c19bb027c8a6388c90fd59
2016-10-06Add FIXME comment about the OpenCL approxEqual() we defineTor Lillqvist
Note that the OpenCL approxEqual() is used only in the implementation of the RATE function, which is not in the trusted subset anyway, so that won't actually be used. Change-Id: Ide30921b1e1f48abb68b5dc64bc2da2fa802038b
2016-10-06Undo bogus changes to OpenCL code in 3e22dfa5eb1ccebdc719a671d23bde7ccab256fbTor Lillqvist
Change-Id: Ieb6e6555f79c8030672a58a23248a2a5e7f8e09d
2016-10-06drop unused RscImageListFlags::MaskColorCaolán McNamara
Change-Id: Idb34feecb710c1415cf8863717809927665cd31b
2016-10-06drop unused bmp format imagesCaolán McNamara
Change-Id: I186d579671712a2bdd21ab2f4bd81fed403f67aa
2016-10-06ImageList just reads and discards the MaskColor, so drop itCaolán McNamara
Change-Id: I243e739fea28e3f38b91534182cc54c2aa660f0e
2016-10-06vcl: allow runtime disable/enable of pdf writer compressionMiklos Vajna
Replace the DEBUG_DISABLE_PDFCOMPRESSION ifdef with a VCL_DEBUG_DISABLE_PDFCOMPRESSION environment variable. The less build configurations we have, the better, I guess. Also remove the COMPRESS_PAGES define, which was exactly defined when DEBUG_DISABLE_PDFCOMPRESSION wasn't. Change-Id: Iaa5530317432e59dee0d3ea2cb606661e8283835
2016-10-06ScTransferObj::ObjectReleased: prevent ScModule nullptr accessEike Rathke
This happened when in the debugger sitting on a break, switching to the application, hitting Ctrl+Q to quit, the Gnome "application not responding" query box appeared, then continuing in the debugger, answered "quit without saving" in the application while the Gnome query box was still displayed (which usually disappears automatically if the application runs again). Apparently some race condition between system clipboard and the application being torn down. Change-Id: I6accc29a14dec15f9fc7c2aeadf57475de148b2d
2016-10-06no MetricFields are loaded from .src files nowCaolán McNamara
Change-Id: I4b30cbc7bc6a3a3a635c3889d43b7fa6513209f5
2016-10-06Replace DdeString conversion opreator with proper functionStephan Bergmann
Change-Id: Ia6a9b40ea33dd9bff8322d8cff1692926f6d1db0
2016-10-06drop now unused sfx2/sidebar/ResourceDefinitions.hrcCaolán McNamara
Change-Id: I151a37a37435a44e7331d957bd9d36f84cdf8677
2016-10-06drop unused hids and hrcsCaolán McNamara
Change-Id: Id9a49391de6283ee15cb6e12564c3f57762ddffc
2016-10-06convert AreaTransparencyGradientPopup to .uiCaolán McNamara
and 1) merge with AreaTransparencyGradientControl 2) grab focus for keyboard a11y like similar popups 3) use degree symbol instead of "degrees" text and it now grows nicely to fit everything in correctly Change-Id: I326f3393165f7a098d739be70b644b29dd5238f0
2016-10-06tdf#93782 Reversed line endings and tdf#92152 half-arrow headsHeiko Tietze
Artwork by Yanpas and Dipankar Niranjan Change-Id: I395b32953a791ae5f93e8e24120ca8c166677c50 Reviewed-on: https://gerrit.libreoffice.org/29555 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-10-06tdf#102852 Fixed BreakDlgArmin Le Grand
Needed to ensure correct return value in dialog and that it repaints Change-Id: I029d10b6699629b2f2f8651f6d96ceceba7a3d8c Reviewed-on: https://gerrit.libreoffice.org/29401 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-10-06Resolves: tdf#103026 invalid dash causes CAIRO_STATUS_INVALID_DASH stateCaolán McNamara
Change-Id: I072635ff7c67022ebfd5bdb475e390f3aab7a51c
2016-10-06use a vector here instead of manual mem managementCaolán McNamara
Change-Id: Ic0944837bc49f4a0e86f67bcb5dccc8c1854a396
2016-10-06these other IMAGE_STDBTN_COLOR defines do nothingCaolán McNamara
Change-Id: If35bd52f973dc89b05afd283a4a89998c491b862
2016-10-06drop this newly unused IMAGE_STDBTN_COLOR defineCaolán McNamara
Change-Id: Ic417cc17e1dbccc1589e7e4269ac326e6ccb7007
2016-10-06drop now unused BitmapItem rsc fieldsCaolán McNamara
Change-Id: I02ed667a3573b3374fce069be0d32dbd91292e49
2016-10-06drop empty ItemBitmap fieldCaolán McNamara
Change-Id: If59c1a2bda49229ff48f8ec28c23491e6d9c8c83
2016-10-06outdated commentCaolán McNamara
Change-Id: If853eb56aca74764ff1250f1d121dc2f2302202d
2016-10-06sw: remove unused DbgRectMiklos Vajna
Seems the last user was removed in commit 2513329487f2b39740f3fa16eb1b07d9b191c699 (2004/06/23 12:50:40 cmc 1.7.568.1: #i30554# remove unused code inside #ifdef USED guards). Change-Id: If49b4d34786b091f06df7064c5b0fd649310365d Reviewed-on: https://gerrit.libreoffice.org/29550 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-06Related: tdf#102499 (4), default css::ucb::XCommandEnvironment.Giuseppe Castagno
Make use of a dedicated interaction wrapper to serve ssl certificates correctly. See comphelper::SimpleFileAccessInteraction for details. Change-Id: Id78cd3f21223a797791598459af32eeec3539f2a Reviewed-on: https://gerrit.libreoffice.org/29541 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-06Don't assume anything about wchar_t in portable codeStephan Bergmann
Change-Id: Ic036f374604729ed7f10ae62a8b458173a5bc22c
2016-10-06tdf#75757 Remove inheritance from std::vectorTakeshi Abe
Change-Id: I87572c545559ef22d4f74fb63218910681c1a7d7 Reviewed-on: https://gerrit.libreoffice.org/29533 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-10-05tdf#103025 sw: don't format header/footer in SwPageFrame::PreparePage()Michael Stahl
This has always been dead code because it used wrong constants FRMTYPE_HEADER|FRMTYPE_FOOTER which is actually Page|Column and SwPageFrame and SwColumnFrame are not direct children of SwPageFrame. Then commit 901e5c3a21a1299d10c44bc844246fe8c329bb82 fixed the constants but somehow the early formatting of header/footer results in wrong expansion of variable text fields, so just remove this code. Change-Id: I0af13168970f26355a1b247e071235166d08b7a4
2016-10-05sw: remove correctMarksAbsolute pre-condition check for now...Michael Stahl
... in case the post-condition check fails it can be added for debugging. Change-Id: Id3ee0895af598080a8bda10e8e9edff883188cbc
2016-10-05tdf#101943 Make Calc functions BETAINV and BETA.INV comply withWinfried Donkers
ODFF1.2 (and with Excel where not contradictory with ODFF) and fix wrong result for probability 0. Excel does not allow a probability of 0, where ODFF does. A probability of 0 is mathematically correct and BETADIST( a, alpha, beta, b ) returns 0 both in Calc and Excel. Change-Id: I06c758c307584420aaccc1a97a35196af14d54f4 Reviewed-on: https://gerrit.libreoffice.org/28723 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-10-05tdf#100496 accept year basis 2 for AMORDEGRC and AMORLINC.Winfried Donkers
Although year basis 2 is not supported by Excel, it is defined in ODFF1.2 for AMORLINC and is supported by Gnumeric. Change-Id: Iacf60dbb7c0502338998f7ff22233c5f8b0b7146 Reviewed-on: https://gerrit.libreoffice.org/29188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-10-05tdf#102238 START CENTER: Templates should be activated with single clickAkshay Deep
Change-Id: If38f8fffd959c50b3befd521d2110e4c54e86be5 Reviewed-on: https://gerrit.libreoffice.org/29295 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-05tdf#102922: Password fields should use u2022 as masking character instead of *Ilya Ponamarev
Change-Id: If4f8077de953a0756967d180b8e463eb5fd7dcec Reviewed-on: https://gerrit.libreoffice.org/29532 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-05[API CHANGE] Remove css::awt::XStyleSettings InfoTextColor and InfoFontCaolán McNamara
Change-Id: I2bee3f52a751ac1ed2b61a1488d6d58c1b36dcba
2016-10-05InfoFont/Color is not used by vcl nowCaolán McNamara
anywhere anyone wanted to Get[Font|Color] give it the Label ones instead. why this is exposed through uno is bewildering, stubbed those out for the moment Change-Id: I7a31d027287436be1c075c76a370047efd010bf3
2016-10-05now ditch WB_INFOCaolán McNamara
Change-Id: I3b5505e06989c6bb8df5977b6690d32ca5f161e2
2016-10-05external/firebird: Fix isinf-check for libc++Stephan Bergmann
...which, at least since version 3.9, defines isinf only as a function, not as a macro, in math.h Change-Id: I7939d5bebe4b55ac7bd36bb321ad0020352a0e7b
2016-10-05SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around new macOS 10.12 deprecationsStephan Bergmann
...for now Change-Id: I64a0a8f6a006d75b6f82d7aae570aef414984a78
2016-10-05sc lok: add .uno:AutoSumHenry Castro
Change-Id: Id2bc0200734308aae1c2e39814c22c6b76664c59 Reviewed-on: https://gerrit.libreoffice.org/29525 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>