summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-26loplugin:redundantcastTor Lillqvist
Change-Id: I4b7341a180271d5e0f9b06a9815d1914d698eb11
2016-07-26Add test data for NORMSDISTTor Lillqvist
Related to 4afa88f289de1150850b52d36f2345fd9a9fbc1e, the NORMSDIST implementation uses erfc(). Change-Id: Ib089496c38c79d5f5eeaed899e844089710d6dec
2016-07-26crash on clicking links in offline helpCaolán McNamara
Change-Id: I59f9ca3293dacbf02af49215cd8334291927f324
2016-07-26loplugin:overrideparamCaolán McNamara
Change-Id: I5d6c249875e4dcebc63e8d0fcdddfcb48e8df18a
2016-07-26svx lok: draw text edits in all viewsMiklos Vajna
Use case: a document has a shape with text, and two views. If one view starts to edit the shape text, the model text is hidden (via TextHierarchyEditPrimitive2D), and the in-progress text was painted directly only in the view that edits it. The remaining views presented the shape as if it had no text. This commit addresses the subset of this use case when the views are already created and they already show the same draw page. Fix the problem by looking for other views showing the same draw page, create a view of the text edit for them, and paint them in all views after the own text edit is painted. There is not much LOK-specific in this code, except that some extra code would be needed to not paint the blinking cursor of the text edit in other views, and then it could be enabled in the non-LOK case as well. Change-Id: Ib3096a3369fa56663ee209794e102090d362de66 Reviewed-on: https://gerrit.libreoffice.org/27535 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-26this can be a ScopedVclPtrInstanceCaolán McNamara
Change-Id: Ia500b2901c6c89ca8755d6b7515d88c18182bb3b
2016-07-26masses of MessBoxes not being disposed promptlyCaolán McNamara
since... commit ba81e5c6bd420b41a84ade6ccd774011a8089f7f Date: Thu May 28 21:35:43 2015 +0100 tdf#91702 - fix stack-based MessBox allocation. There is no special ScopedVclPtr<X>::Create or ScopedVclPtrInstance<X>::Create just VclPtr<X>::Create and a raw VclPtr<X>::Create()->foo doesn't call dispose on the owned X Change-Id: Ifacc8d5e742820701307c3c37b9b86487667d84f
2016-07-26add POWER test caseZdeněk Crhonek
Change-Id: I776535199d8123da2da65fd769e975aa4e5280f2 Reviewed-on: https://gerrit.libreoffice.org/27500 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-26add ODD test caseZdeněk Crhonek
Change-Id: I081605e1dc24601baa707e57c9691aa9b42c2aff Reviewed-on: https://gerrit.libreoffice.org/27499 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-26add MULTINOMIAL test caseZdeněk Crhonek
Change-Id: Ia0496640f57e5c0085d9ce4cc081c44bfb819ad0 Reviewed-on: https://gerrit.libreoffice.org/27495 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-26add QUOTIENT test caseZdeněk Crhonek
Change-Id: I3abd51755dcb6f308eed537fbbbe9e87eb55a21c Reviewed-on: https://gerrit.libreoffice.org/27504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-26add PRODUCT test caseZdeněk Crhonek
Change-Id: I0cfd22c8ecc42a1b7aaf2388e29b06d9e4c4095c Reviewed-on: https://gerrit.libreoffice.org/27502 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-26sw: use std::move() in DocxSdrExportMiklos Vajna
Change-Id: Ifd92f0ea25288540915a6509a62df7b89e9304db Reviewed-on: https://gerrit.libreoffice.org/27533 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-26sc: replace GetScenarioData() calls with GetScenarioFlags()Jochen Nitschke
if only the scenario flags are needed Change-Id: I9bda31250a8bbd83dda2fabb1d9eaaab90584052 Reviewed-on: https://gerrit.libreoffice.org/27465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-07-26sc: convert SC_SCENARIO_.. defines typed flags ..Jochen Nitschke
ScScenarioFlags add ScScenarioFlags::NONE for 0. replace uses of '-= flag' with '&= ~flag'. Change-Id: I003c0ca1f59b060f52935fec8bb6282fd9981805 Reviewed-on: https://gerrit.libreoffice.org/27464 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-26Need to try to avoid TDR also with NVIDIA cards on Windows 7 or earlierLaszlo Nemeth
(TDR is Timeout detection and recovery, was introduced in Vista.) Change-Id: Ic49629adf7630e61cebcdfcc431ca96ba3fbaf7e Reviewed-on: https://gerrit.libreoffice.org/27518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2016-07-25starmath: Fix invalid static_castTakeshi Abe
which caused an undefined behavior by downcasting SmSpecialNode to SmMathSymbolNode. Change-Id: I00b6d2111733bddffa31d12c85fbb5bbdd675f76 Reviewed-on: https://gerrit.libreoffice.org/27531 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-25Upgrade HarfBuzz version to 1.3.0Akash Jain
Change-Id: I55a6258e370ff1cf2e901a8460cd2342118ea9d5 Reviewed-on: https://gerrit.libreoffice.org/27524 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-07-25No need for own implementation of erfc() in OpenCLTor Lillqvist
The own code was copied from the C++ one we used to have in sal/rtl/math.cxx but which was removed in a62bc6a65abb47adb0e4caff7e38823c15b302fc. However, it did not work correctly on some machines at least, like my AMD A10-7800 running Windows 10. I was unable to figure out why not. This lead to OpenCL being disabled by the Desktop::CheckOpenCLCompute() code we now run early on startup. Anyway, as OpenCL has erfc(), just use that. Change-Id: I7ba6104fc4975cd570358760fa97a19390a54cce
2016-07-25obtain PreviousChar() only if necessaryEike Rathke
Change-Id: Ib23b34fd927eaecef1868fbeebde0a28399dc0c3
2016-07-25basegfx: use polygon initializer_list in some placesTomaž Vajngerl
Change-Id: Ibb83476376e1c46aedf67c9455292405219a45c1 Reviewed-on: https://gerrit.libreoffice.org/27476 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-25Resolves: tdf#101096 remove the "H after M" ruleEike Rathke
wrongly introduced with c9ed6e832213129cc579c1c309ce9dbd3593c57a Change-Id: Ic6c9c404ad0af11eb5d638f453150ee0da60e633
2016-07-25Revert "tdf#101096 Improve minute/month disambiguation"Eike Rathke
This reverts commit cb94d2fbd9596aca45d915a599caa671a261c2a2. There's an easier solution not leaving unhandled corner cases.
2016-07-25opengl: log device/driver info, remove unneeded info messagesTomaž Vajngerl
Change-Id: Ica3698d0dbff1ee7a1e822d2765eb4019ccef224 Reviewed-on: https://gerrit.libreoffice.org/27498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-25opengl: check supported texture size on first GL initTomaž Vajngerl
Change-Id: I27ef828a8d47d50adbbcc3fb0fd152f4f6ffc446 Reviewed-on: https://gerrit.libreoffice.org/27497 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-25opengl: add VCL_GL_WARN to write warnings into api trace fileTomaž Vajngerl
Change-Id: I416de926a769dccdf1c53072c1f7dda817c5402a Reviewed-on: https://gerrit.libreoffice.org/27496 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-25basegfx: initializer_list from polygonTomaž Vajngerl
Change-Id: I2d6cdb7189217e1fadb1ecf4e11cf4dd04043ec6 Reviewed-on: https://gerrit.libreoffice.org/27475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-25tdf#101096 Improve minute/month disambiguationLaurent Balland-Poirier
To fix tdf#95339 M-H was treated as minute-hour But for "D.M.H" it should be treated as day.month.hour THis commit extends test to detect if - in case of M.H: there is day or year previous M => M stands for month - in case of S.M: there is day or year after M => M stands for month Some ambiguous cases like S.M.D are now treated as it was previously (month) Change-Id: I048eb227a738b6c453e39d9208bef0d1fda136a0 Reviewed-on: https://gerrit.libreoffice.org/27493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-07-25use div() instead of /0 to content ubsanEike Rathke
While we do handle double floating point division by 0 at least on IEEE754 systems, ubsan builds mock about. Change-Id: Ifff40fb917c6fb1cd6b7c812bc002c448b578f38
2016-07-25loplugins: more consistent naming of output filesNoel Grandin
Change-Id: Ia26f697cb16078f235c94e4cff449a60c1bbd74e
2016-07-25curl 7.50.0 has CURL as typedef struct Curl_easyCaolán McNamara
Change-Id: I22e5e2cdf78c38087579071c1b1570a8adc7d3c4
2016-07-25Updated coreStanislav Horacek
Project: help 034f593c7a63283b361349b152e598ea2ec51b90 tdf#100962 adjust menu paths to track changes commands Change-Id: I9a0f4964cd29af3fb600b6cb4570ceae5f33f50d Reviewed-on: https://gerrit.libreoffice.org/27491 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-25move parseExport to SdExportTest base classMichael Stahl
Change-Id: I20cc59e21aa1b99d8cee5a9f60c0703e9c457187
2016-07-25sd: OOoXML import: fix loss of animationsMichael Stahl
There are 2 different animation formats, legacy one used in OOoXML format, based on presentation:animations element, and SMIL based one used in ODF format, based on a node hierarchy with <anim:par presentation:node-type="timing-root"> at the top. The problem is that when the legacy animations are imported, they are not immediately set on the draw-page in the same way as the new animations are imported. "soffice --convert-to odp ooo28334-1.sxi" loses all of the animations, whereas loading the file in the UI and storing it all animations are converted, and if you use API load/store methods some are converted and some not depending on timing. The problem is that there is a necessary conversion step MainSequence::implRebuild() that needs to happen after all the EffectMigration calls for a particular SdPage are finished, which is only triggered by a timer MainSequence::onTimerHdl(). Fix it by forcing a call to implRebuild() from DrawDocShell::Load(). Note: SdDrawDocument::NewOrLoadCompleted() is a horribly misleading function name as it is actually called *before* loading the document. Change-Id: I9881cb9bf2ae6ccc5fcf06602343f2d0e0704699
2016-07-25Revert "loplugin:unreffun"Michael Stahl
This reverts commit eeb852ea1ecb77c2980d44075429b06e7d420c3a. Only the function in export-tests.cxx which is now used. Change-Id: I0751a4fd2d651676cfee42dd077b1d438a98fc92
2016-07-25sc: implement LOK_CALLBACK_VIEW_LOCKMiklos Vajna
This is the same shape text editing indicator that's available in Writer and Impress already. Change-Id: I5f7fbf2efdc92a10b169a3f1b27e24426f3dfb3d Reviewed-on: https://gerrit.libreoffice.org/27507 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-25Fix some misleading commentsTor Lillqvist
Change-Id: I0f29133c3e9b881835b970b2226583ec348828cb
2016-07-25[GSoC] Fix palette selection in sidebar/toolbar color widgetRishabh Kumar
Remember palette selection after the popup is destroyed Change-Id: Iecd7fd4aa89cf9d2d6842c5b544d037df6818aaf Reviewed-on: https://gerrit.libreoffice.org/27474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-25lokdocview: draw a lock inside the lock indicatorMiklos Vajna
Hopefully less confusing, the crossed out rectangle is also used inside the tiles for deleted comments, and the two are independent. Change-Id: Id06fbf6ec1b21dfbab1c126c3c432f91cf51430c Reviewed-on: https://gerrit.libreoffice.org/27503 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-25clang 3.8 does not seem to have EvaluateAsFloatNoel Grandin
Change-Id: I0d846a2e9bc6db192cbf8f5dbce104c11ff409b4
2016-07-25fix for overrideparam lopluginNoel Grandin
Change-Id: Ibf4d3ffee0bfe335c479a15fcd183dfd8c207335
2016-07-25Further documentation for SelectedOpenCLDeviceIdentifierTor Lillqvist
Change-Id: I124b0225c2962c62bce71c128748263c9cd48fdb
2016-07-25sw: prefix members of SwTableOptionsTabPageMiklos Vajna
Change-Id: Id82effaf20663d3c54ab42d02c4aef2b08101c6f Reviewed-on: https://gerrit.libreoffice.org/27501 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-25Resolves: tdf#101076 drag-create creates an unfilled shape...Caolán McNamara
after using the slide properties->background->all slides This SetAttributes with nothing selected will end up setting the default object properties. Here I think we are setting the bg color to the master, and then unsetting the bg color of the slides to none so the master color shows through. So the additional SetAttributes call unsets the bg of the default object style Change-Id: I5cfd74eef5637b87d2a8778d4b8c8a0cbc0960db Reviewed-on: https://gerrit.libreoffice.org/27487 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-25tdf#75573 - docx handle frame properties at stylesJustin Luth
A frame with only a style defined doesn't create paragraph properties, so the settings were just being ignored. If the stylesheet is the top context, then the settings belong to the style. If this slightly aggressive approach causes a regression, then just use the style only if the paragraph properties don't exist. Change-Id: I3b14205dc2bc5305f1eeb4cb72a812e877b532c7 Reviewed-on: https://gerrit.libreoffice.org/27453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-25loplugin:overrideparam enable checking that default values matchNoel Grandin
Change-Id: I4ca21d12d6f5dd4bb0b2705f7e36249082b0838c
2016-07-25tdf#101089 Distribute the Dutch example classification fileGabor Kelemen
Change-Id: I3692f313b728219ed2d7d2b57aee7209f852d04e Reviewed-on: https://gerrit.libreoffice.org/27461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-25new loplugin overrideparamNoel Grandin
verify that parameters on override methods have the same set of default values for their params as their parent/super-methods do. Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2 Reviewed-on: https://gerrit.libreoffice.org/27437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-25sc: remove ScPointerChangedHint classJochen Nitschke
nFlags is never set, ctor was removed in commit 716636d558e9cc9b910da6d127314d2b20cdf0b6 Change-Id: Id1a608999042ff29b26162fddccaa35806a3e9e6 Reviewed-on: https://gerrit.libreoffice.org/27488 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-25sc: replace GET_SCALEVALUE macro with a lambdaJochen Nitschke
Change-Id: Id41cf9fec355f84fdc52565e089a8bb04c0e9bdb Reviewed-on: https://gerrit.libreoffice.org/27492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>