summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-27tdf#85594 Add reset default formatting to standard toolbarYousuf Philips3-2/+4
Change-Id: Ie483c3e5454eac45d1fa0f3c48b009cb369a19e3 Reviewed-on: https://gerrit.libreoffice.org/38008 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2017-05-27tdf#106534 New color palette with various charts palettesYousuf Philips2-0/+48
Change-Id: I17fefce4db145d0e0d861d3d34f8d3919320eb9d Reviewed-on: https://gerrit.libreoffice.org/37888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2017-05-27tdf#102915 Restore 'Clear Direct Formatting' to context menuYousuf Philips3-2/+17
Change-Id: If3f1a8c2255cb2daa280ca9745b91fd665bf127e Reviewed-on: https://gerrit.libreoffice.org/37925 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2017-05-27add VBA tests- PMT, PPMT, PV,QBCOLOR functionsZdeněk Crhonek5-0/+308
Change-Id: Idcbecbdee6a6c054886d6a11ce22e525ecf23736 Reviewed-on: https://gerrit.libreoffice.org/38084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-05-27Resolves: tdf#48918 grow/shrink effect missing from uiCaolán McNamara1-1/+1
Change-Id: I4b80cf95e79cc3798816c4e7763328fae7c3aad3 Reviewed-on: https://gerrit.libreoffice.org/36524 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-05-27tdf#107976 sw: let a view handle multiple transferablesMiklos Vajna3-10/+31
Otherwise only the last transferable gets unregistered on closing the view, which means a use-after-free when trying to paste something copied from a closed document. Change-Id: I65594e07fa4fefe7ae51a12455b755d64700a00d Reviewed-on: https://gerrit.libreoffice.org/38088 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-05-27fix construction of directory pathMarkus Mohrhard1-1/+1
Change-Id: I5fa7ce762ae7e429f685a52b0fed1a1f120da8dd
2017-05-27allow to override settings based updater URL and channel through envMarkus Mohrhard1-0/+10
Change-Id: Ie2d96c1f6c15f91db6410997185161e5fb443dfc
2017-05-27tdf#97362: CheckBookmarks unittest migrated to python (check_bookmarks.py)jmzambon5-245/+152
Change-Id: Ie5fa41d4346d921ed905795b76ea3c3e90b3d4a2 Reviewed-on: https://gerrit.libreoffice.org/38080 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-05-27tdf#36541 Wrong syntax highlighting in BASIC IDEtagezi1-18/+18
-- and // are not comments in Basic Change-Id: I6cd16f2d19eec280ead7d59a6162cd03ac267474 Reviewed-on: https://gerrit.libreoffice.org/38074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-05-27Update zoom constraints with device rotateXimeng Zu3-6/+21
Added function of updating zoom constraints whenever device rotates. This is achieved by calculating min zoom factor every time the size change function is called. Change-Id: I6d795c1eb79faa36b4f5dabedd2d4b8c87dcf7d7 Reviewed-on: https://gerrit.libreoffice.org/37847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-05-27osl: file.h comments clarification and minor formatting cleanupChris Sherlock1-88/+62
Change-Id: I1011665787ccec2500efc4492a9f19e53de3bf12 Reviewed-on: https://gerrit.libreoffice.org/38033 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27registry: fix indenting caused by automated namespace scripts, etc.Chris Sherlock1-5/+5
Change-Id: Ia14ebebafe957891f8a3f0b1bf8519e906211ef8 Reviewed-on: https://gerrit.libreoffice.org/38076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27registry: remove comment cruft from regimpl.cxxChris Sherlock1-64/+0
Change-Id: Ic728b6d975cfaf59c5d28c5587c488a245b4c961 Reviewed-on: https://gerrit.libreoffice.org/38068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27osl: osl_setFilePos uHow and uPos parameter desc. are amazingly inaccurate!Chris Sherlock1-3/+5
Change-Id: Ie96f31b24b4f23ef72f12adee14dfe4092fc8e2b Reviewed-on: https://gerrit.libreoffice.org/37873 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27osl: remove LLA sigs, fix typos and convert to Doxygen commentChris Sherlock1-12/+13
Change-Id: I07311894c25a906d0f3d64f39684851c7b23d672 Reviewed-on: https://gerrit.libreoffice.org/37872 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27osl: convert to variable == value, not value == variableChris Sherlock1-9/+9
Change-Id: I20e68c135f43d03cf6035eda488c85a2067910e0 Reviewed-on: https://gerrit.libreoffice.org/37864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27tdf#43157 - registry: convert from OSL_ASSERT to assertChris Sherlock1-3/+3
Change-Id: I527920d3e970e5028ebc0a84d0b460cdee0f140b Reviewed-on: https://gerrit.libreoffice.org/38077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27registry: like Rosencrantz, consistency is all I ask...Chris Sherlock1-25/+25
... only I do so with less existential angst. Change-Id: Ib62c27580db845b5c00b772aef1ec798a6163b4a Reviewed-on: https://gerrit.libreoffice.org/38070 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27registry: typo in function parameterChris Sherlock1-1/+1
Change-Id: I0a0e9551e427f3ca0fe15a5eec05f85e852642fe Reviewed-on: https://gerrit.libreoffice.org/38075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-27sw lok: disable undo state if conflict with other viewsHenry Castro2-5/+94
Change-Id: I5497c9b1f236bc803529825ba8b423d55fffa93e Reviewed-on: https://gerrit.libreoffice.org/38049 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2017-05-27Revert "deleted variable bAdd because it does not make sense"Julien Nabet1-4/+9
This reverts commit d0c0ebbcabb67b8dfd130cf4e9e666bba229f846. + fix bAdd logic Change-Id: Iefa70e31c5747db1a881b1036e3d8a8995785603 Reviewed-on: https://gerrit.libreoffice.org/38072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-05-26Tiny Tango icon update, before I lose my backups againAdolfo Jayme Barrientos33-8/+0
Change-Id: I26aaeabe68f063e06062840c354521b18054d729
2017-05-26tdf#107045 Change preview image in templatesLaurent Balland-Poirier13-0/+0
thumbnail.png was modified in XML code for each Impress template. Localized text was replaced with Lorem Ipsum text Change-Id: I67fbf9b957630a75227d1b595d9bdc4298ef791c Reviewed-on: https://gerrit.libreoffice.org/36805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-05-26tdf#108056 sw: add UI to disable SubtractFlysAnchoredAtFlys compat optionMiklos Vajna7-4/+32
There is a reason this is off by default, make it a bit more easier for users to not depend this option when they don't actually need it. Change-Id: I21c5b942c6021fa21840779e1a9f53055fbf279f Reviewed-on: https://gerrit.libreoffice.org/38081 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-05-26tdf#108056 sw SubtractFlys: add missing expansion of the clip pathMiklos Vajna1-3/+18
With this finally the bugdoc has no more unexpected white lines around the fly frame. In the non-SubtractFlys case DrawFillAttributes() already did an expansion of the clip path, but this was overwritten in case the layout flag was set. Fix the problem by taking care of this in lcl_SubtractFlys() itself. Change-Id: Iac91279f8bc19588e763425aff5cb800e793da83 Reviewed-on: https://gerrit.libreoffice.org/38079 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-05-26Updated coreOlivier Hallot1-0/+0
Project: help 2d55618673b1db54dd3439f1054413fc71d5a2a0 Fix documentation URL in help page The URL was outdated. Change-Id: I6c8de8a7271875fd5d6874aface4130e8e872194 Reviewed-on: https://gerrit.libreoffice.org/38085 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-05-26tdf#39468: translate German to English in registry's regimpl.cxxChris Sherlock1-3/+3
Change-Id: Ibda59217728c9c959c4648d73005770d27644b77 Reviewed-on: https://gerrit.libreoffice.org/38069 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-05-26tdf#108056 sw SubtractFlys: work with a polypolygon directlyMiklos Vajna3-17/+16
In case the intention is that the clip rectangle should include the page, except a fly frame, we built a list of rectangles that covered this area. This introduces the problem if adjacent rectangles don't join perfectly. Instead allow lcl_SubtractFlys() to work on a clip state directly, this way the clip polypolygon will only contain two paths (the page rectangle and the rectangle of the fly), so rounding errors can't happen. Change-Id: I5b2e9a382aa7d16f3b16509670de754b5e00bd6d Reviewed-on: https://gerrit.libreoffice.org/38066 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-05-26fix impress slide context menuNoel Grandin3-5/+21
regression from 4a340e36e8d3713806719351f455711c1254a178 "loplugin:constantparam" Change-Id: I3dc34fd438ba7f057e52e888e3ea8053a0b3ea78 Reviewed-on: https://gerrit.libreoffice.org/38073 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-05-26writerperfect translations missingCaolán McNamara1-0/+1
persumably because there were never extracted to be available for translation Change-Id: Ib9d37105a41c19898577ba8acec121b87e3af9e5
2017-05-26tdf#106131 no global drag when anchor drag activeArmin Le Grand1-1/+7
If in Writer dragging the anchor is already active it is not allowed to enter global object drag mode. This check was missing and may lead to various inconsistencies Change-Id: I7d8dd2a62737e6d5d72f69747ceb21bcb73c45ed Reviewed-on: https://gerrit.libreoffice.org/38059 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2017-05-26Resolves: tdf##108069 2nd OpenGLContext::init should dispose earlier resultsCaolán McNamara1-1/+2
Change-Id: If6bb9517a4081576347d71ddf26d020119d34247
2017-05-26coverity#707857 Uninitialized scalar fieldCaolán McNamara1-0/+12
Change-Id: I2d51a2e9b56dd0dc57613f305e0834ffb1732de5
2017-05-26coverity#1409894 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: If475a0415c9faf98c978576743dbfdaa79d16d3f
2017-05-26coverity#1409893 Division or modulo by float zeroCaolán McNamara1-2/+6
Change-Id: I697e9c7772792b02257ed1f40666dd70bb70300c
2017-05-26coverity#1242834 Unused valueCaolán McNamara1-4/+4
and coverity#1242871 Unused value coverity#1242900 Unused value Change-Id: Ic8c9afa5ac9ea9de661f15403646424486901696
2017-05-26coverity#1409896 Dereference before null checkCaolán McNamara1-2/+2
should this be pShell instead of pSh ? Change-Id: Ie653dbbdee8cebc402c9ee9e78630353ba977921
2017-05-26coverity#1409897 Dereference before null checkCaolán McNamara1-1/+1
Change-Id: I9ce73a4836df502267ec9b247432dd86b6ac1b62
2017-05-26coverity#1409898 Dereference before null checkCaolán McNamara1-2/+2
Change-Id: I44b5ab0c66b4050c2ee47684af7526e2543945ca
2017-05-26coverity#1409895 Resource leakCaolán McNamara1-2/+6
Change-Id: I1430ac41bf11bf3ae5c4cba3406a24148acd728e
2017-05-26coverity#1409901 Unused valueCaolán McNamara1-3/+1
Change-Id: I1a363ed385ba251ece29f7bd1eaa151c0657f14e
2017-05-26tdf#74177 Writer table: refresh formula without losing commentsJustin Luth1-3/+24
The presence of an annotation anchor was causing number replacement to fail in Writer's table cells. The formula's value was not recognized as a replaceable number, so the originally computed value remained in the cell, regardless of whether the formula's value changed. Allowing the value to change needs to avoid losing the comments, so the majority of this fix is to preserve the comments. This is not recognized as "fixed" during document loading since the table/formulas are not refreshed at load time. Only documents saved with incorrect results will notice this, and any cursor access inside the table will cause a refresh. Printing also causes a refresh (but not print preview or PDF export). So this patch only fixes document creation or modification, which should be adequate for this bug. Change-Id: I6f11d62c2d56e6b0f6a37371dd5aaef28d525e25 Reviewed-on: https://gerrit.libreoffice.org/32910 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-05-26tdf#108049 VBA exception avoided in ScVbaRange::setStyleJustin Luth1-1/+2
Change-Id: I5fc928373d70829b6e68d9000140a30f04179536 Reviewed-on: https://gerrit.libreoffice.org/37981 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-05-26sdext: coverity#1409900 Uncaught exceptionMichael Stahl1-1/+8
Change-Id: I45e277440718b9d173f164eaaa3112f4c474aa3a
2017-05-26sw: coverity#1409899 Null pointer dereferencesMichael Stahl1-1/+1
Change-Id: I152def3c629980aedb705ac511f154cc6e9d1b0f
2017-05-26tdf#36019: Dynamically enable/disable extension removal via GUIMuhammet Kara4-1/+29
Now extension removal via the Extension Manager dialog can be dynamically enabled/disabled from the expert configurations. This doesn't affect the unopkg commands. Change-Id: I2b718d48977ca18cc3d808e98cf7804d4a47dcff Reviewed-on: https://gerrit.libreoffice.org/37990 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
2017-05-26create SAL_RETURNS_NONNULL annotationNoel Grandin6-42/+53
and apply it to some methods in OString and OUString Change-Id: I30e91f961b6d310799d3641f68b7ed54b3080f3a Reviewed-on: https://gerrit.libreoffice.org/38020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-26Make helpcompiler more verbose on dot ahelpsGabor Kelemen1-1/+1
Currently we get a warning if the ahelp is one dot and there was no previous bookmark tag. This warning contains only the text with the problemmatic ahelp. It would make it easier to hunt down such problems if we would know the file names. This patch does that, and now I see 334 problems in 137 files. Change-Id: I364368f7affb85d5c5d526dd4674757c51956aea Reviewed-on: https://gerrit.libreoffice.org/38044 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2017-05-26deleted variable bAdd because it does not make sensetagezi1-8/+4
Change-Id: Ib65c38c7e99ff4667c021240a1412c8f57f53cbe Reviewed-on: https://gerrit.libreoffice.org/38050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>