summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-22tdf#107068 add arrow to the buttons, mark if field is filteredTomaž Vajngerl
Change-Id: Iba0b4c2ce3ab84229d388a7cb2d20db1f47c0b57 Reviewed-on: https://gerrit.libreoffice.org/36738 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-22sw: fix a11y crash on double DisposeMichael Stahl
When testing with the bugdoc for tdf#107126, it happend that upon applying a page style, SwAccessibleContext::Dispose() was called twice, and that's not supposed to happen (and crashes, too, at least inside an assertion). There was an Action that queued up a bunch of events, but the Action did not complete formatting the document, so right after that during Paint more formatting happened and then the FireEvents() called Dispose() and InvalidatePosOrSize() called it again. Guess we shouldn't generate events for objects that we know are disposed due to not being visible. Change-Id: I5a0f04c0f32ee5e949b552f7a373c10ceee5c279
2017-04-22tdf#107126 sw: fix layout crash with section in footnoteMichael Stahl
SwContentFrame::WouldFit_() contains a hack to temporarily reparent a SwTextFrame. In the bugdoc, there is a SwTextFrame below a SwSectionFrame below a SwFootnoteFrame. The reparenting ignores the SwSectionFrame so the result is a SwTextFrame below SwFootnoteFrame, but it still has its mbInfSct set, hence crashes with a null pointer. If the SwTextFrame is permanently moved later on, in SwFlowFrame::MoveBwd() line 2450 a new SwSectionFrame is created. Change-Id: I45a7ab793b4459e551bd11b7fb83dedc58a6c8da
2017-04-21add test for generic digest classMarkus Mohrhard
Change-Id: Ibe3f033ebec5f832eee7420013c7083ab224e65e Reviewed-on: https://gerrit.libreoffice.org/36791 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-21add generic digest classMarkus Mohrhard
Change-Id: Ic5d2d8fbb0bb4edc4c966e185be81f6ca673950e Reviewed-on: https://gerrit.libreoffice.org/36790 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-21[pt-PT] Autocorrect - Added 25 wordsMarco A.G.Pinto
Change-Id: I1b542baf0f78ad90caeffca2456ad0c1eaae8a70 Reviewed-on: https://gerrit.libreoffice.org/36566 Reviewed-by: Aron Budea <aron.budea@collabora.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-04-21upgrade to language-subtag-registry-2017-04-19Eike Rathke
Change-Id: I2201c5fef55a38938fc3e412d9e3b64457a671a1
2017-04-21Clean up do_msvcr_magicStephan Bergmann
Change-Id: I932d903d04b03d3a437db3d3c549c21a1a330965
2017-04-21Silence loplugin:unreffun on "FIXME breaks on Windows"Stephan Bergmann
Change-Id: I9b03f56d8d1b45648f9d71fe1e8632fe58079c4f
2017-04-21external/epoxy: Work around missing clang-cl DLL-init CONSTRUCT supportStephan Bergmann
Looks like neither the __GNUC__ specific __attribute__((constructor)) definition of CONSTRUCT nor the _MSC_VER specific one (if the #ifs were reordered so that clang-cl would pick the latter) with __declspec(allocate(".CRT$XCU")) are supported by clang-cl, and both are rather silently ignored. That means that library_init is not called, library_initialized remains false, and the first call to get_dlopen_handle aborts. But this whole "verify that get_dlopen_handle isn't called too early" business is somewhat pointless here (and that's the only use of the CONSTRUCT macro, and DESTRUCT isn't used at all), so just short-circuit it for clang-cl for now. Change-Id: I5d50df3574d350f9591e807ef0fb6a1b02dc34ec
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21nss: try to remove nss.windowbuild.patch.0Michael Stahl
It's not obvious to me what problem this solves. Maybe the problem no longer exsists in the new upstream release? Change-Id: I16762e0024536afb821eac70c6ba3929d5b8927a Reviewed-on: https://gerrit.libreoffice.org/36798 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-21LOK - Calc: changed the way header is updated on row/col insert/removeMarco Cecchetti
This patch introduce a new LOK callback for informing the client that the row/col header is no more valid and needs to be updated. Change-Id: I21a3a41d69bd1a3c11c9ffaf1d7d53dbc3b9681d Reviewed-on: https://gerrit.libreoffice.org/36733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-04-21Disable this test temporarily, breaks on Windows from some reason.Jan Holesovsky
Change-Id: I47998d5844901b8090cd47f55a49c872550e2e38
2017-04-21Avoid un-necessary dynamic_cast slowing plain-text import significantly.Michael Meeks
Change-Id: I5f3ff80b36220c80e777946f5f75354c4b6e4ab9 Reviewed-on: https://gerrit.libreoffice.org/36789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-04-21nss: upgrade to release 3.29.5Michael Stahl
- fixes CVE-2017-5461 and CVE-2017-5462 - drop ubsan-alignment.patch.0, there is apparently now some NO_SANITIZE_ALIGNMENT macro upstream to get this effect - drop some hunks to prevent hard-coding CC/CCC vars, upstream now respects environment vars (but doesn't quote them...) - drop first hunk of ubsan.patch.0, fixed upstream - drop hunk for gtest-internal.h, header looks much newer anyway Change-Id: I5c484c02c1235e185af1ef5166b069303d3378e1 Reviewed-on: https://gerrit.libreoffice.org/36756 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-21Make HASHID work whenever there is std::hash<pthread_t>Stephan Bergmann
Change-Id: I78aecfc7c0ea4ad4467417015bf41b809dbcda83
2017-04-21ofz#1202 fix oomCaolán McNamara
Change-Id: I9b7b318af112fb9226bf8d2b54ea2a306eee4251
2017-04-21restore copy/paste menu entriesCaolán McNamara
Change-Id: Ie1dab6857dd6efdb816a11997ef32f0cc3497047
2017-04-21related tdf#68604: Unit test for writing the plaintext annotations in DOCX.Jan Holesovsky
Change-Id: I8c747e72ca96ffd097c92326210c39740102ec79
2017-04-21related tdf#68604: Write the plaintext version of the annotation...Jan Holesovsky
...if the TextObject is not available. This is perfectly valid situation in the case when the SwPostItField was created via the .uno:InsertAnnotation API. Change-Id: I3ae2a529ba7cc13cf5b04d57aa299d79e2044f37
2017-04-21tdf#107211 sw: ODF import: add a horrible hack to import "Default"Michael Stahl
... character style for hyperlinks and index-entry-templates. The problem is that the "Default" character style doesn't actually exist, it is just displayed in the UI so you can remove a character style that is set. So for the most part there is no need to store "Default" in ODF files, except that for hyperlinks the default isn't "Default" but "Internet Link"/"Visited Internet Link". Hence it was not really a good idea to rename "Default" to "Default Style", because when importing existing documents the text:style-name="Default" is not found, and for new documents text:style-name="Default_20_Style" is not found either because there is no style:style element that sets up the mapping between the encoded style-name and the unencoded display-style-name. Add some hack in SwXMLBodyContext_Impl::SwXMLBodyContext_Impl(), when all style:style elements have been read (so we don't override what's in the document) to create the mapping for "Default", "Default_20_Style" and whatever the translation of that is. (regression from 783d13a9276931e274a90b9b53de2c92dc8c055e) Change-Id: I8a80847571f194204c5df267cb48e826a82328b2
2017-04-21xmloff: fix typoMichael Stahl
Change-Id: I0f354b37afa2492894c1d3ee6a83633c04e1c87a
2017-04-21treat ParaShape like CharShapeCaolán McNamara
Change-Id: I7870fdeee6bd097c94d7ae58b67506c4ab2a6fb5
2017-04-21loplugin:mergeclasses RscConst with RscEnumNoel Grandin
Change-Id: I7bd35df0751c9ffce076848edd5373e00815dbc5 Reviewed-on: https://gerrit.libreoffice.org/36772 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21loplugin:unnecessaryvirtualNoel Grandin
Change-Id: Ibf396e5431d30cb62f086fa723b88c330c18961b Reviewed-on: https://gerrit.libreoffice.org/36771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21add ICU changeset-39671 fix for CVE-2017-7867 CVE-2017-7868Eike Rathke
http://bugs.icu-project.org/trac/changeset/39671 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=213 https://bugzilla.redhat.com/show_bug.cgi?id=1444101 Change-Id: I4e776ad4fe63c77057b0c823f8672a2b6703346f Reviewed-on: https://gerrit.libreoffice.org/36754 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-04-21Fix an apparent copy/paste errorAdolfo Jayme Barrientos
Change-Id: Icc327dba2fe73c171d49811ee8d4d35a333f3178
2017-04-21xmlsecurity: remove no longer needed ImplXMLSignatureListenerMiklos Vajna
The only remaining task it did was StartVerifySignatureElement() in startElement(), but that can be done in OOXMLSecParser / XSecParser easily, no need to have separate class for that. Change-Id: I0863019d3a92a911df0d60bf872dd0978eac03d5 Reviewed-on: https://gerrit.libreoffice.org/36770 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-04-21add CVE-2017-0199 testcaseCaolán McNamara
Change-Id: I07cac2ffac85093761dbdd7c50c52483bfbb5754
2017-04-21tdf#107027 Remove language specific tags in templatesLaurent Balland-Poirier
For all templates: Modify XML code to: Remove Configuration2 directory Remove lang specific tags in: - settings.xml - styles.xml Remove printer and grid parameters Alizarin.otp Change names of master slides Remove hard coded texts tdf#104087 BrightBlue.otp DNA.otp Remove hard coded texts Focus.otp Remove hard coded texts Change text "Your logo here" to "Logo" to be less lang specific Impress.otp Inspiration.otp LushGreen.otp Metropolis.otp Remove hard coded texts Midnightblue.otp Remove Outline frame on page 3 Pencil.otp Remove hard coded texts Resize title to not overlap picture Sunset.otp Remove hard coded texts Set title in bold Resize outline text zone to fit in page Vintage.otp Vivid.otp Remove texts in Notes page Remove hard coded texts Change-Id: If16c6c65e6650c1b6600e6324c0f931009023074 Reviewed-on: https://gerrit.libreoffice.org/36752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-04-21tdf#103872 Localize "Export as image" window titleGabor Kelemen
In Calc select Export as image from the local menu of a chart to see this Change-Id: I9753f4750bd619f161c52f9e067290743ad2f2ec Reviewed-on: https://gerrit.libreoffice.org/36758 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-21convert HTML_OPTION_IDS to scoped enumNoel Grandin
Change-Id: Ia766dc58a571e5853005fd394283d7b53f02e4a6 Reviewed-on: https://gerrit.libreoffice.org/36748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21pass RndStdIds around instead of sal_uInt16Noel Grandin
Change-Id: I28c85b8a5370faa06043ad93412897778ed1a619 Reviewed-on: https://gerrit.libreoffice.org/36731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21remove some old MSVC workaroundsNoel Grandin
Change-Id: I6abd8aaffb27b3c85df7c0518f7f576be4e32222 Reviewed-on: https://gerrit.libreoffice.org/36660 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21tdf#68604: Commit the data from the postit to the model before docx save.Jan Holesovsky
Change-Id: I74f4adad5f142b35ff8819577b1dbd6e5c45db96 Reviewed-on: https://gerrit.libreoffice.org/36757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-04-20tdf#101627 add unit testPatrick Jaap
unit test for the patch 80b9b6761e8cb974e0cdc0c7be0eb95f8745d86f Change-Id: I68b7eb686fa52f1851455160e1196f0748935c4c Reviewed-on: https://gerrit.libreoffice.org/36747 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-20tdf#107071 remove "Data Range" from context menu in a pivot chartTomaž Vajngerl
Change-Id: Idb0087941e64af3b3373fd9a041ac04b96705934 Reviewed-on: https://gerrit.libreoffice.org/36737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-20tdf#107067 remove data buttons as they don't have any actionTomaž Vajngerl
Change-Id: I91751cfc32a75ecd72dc711821d918b6a5d9f83f Reviewed-on: https://gerrit.libreoffice.org/36736 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-20tdf#107069 don't show "move" cursor on field buttonsTomaž Vajngerl
Change-Id: I332cc7522eb98345d34cb411642189262d97744c Reviewed-on: https://gerrit.libreoffice.org/36735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-20tdf#107143 Add delete all comments command.Gulsah Kose
Change-Id: I1375375543172146a27ed4225f584121f9945a8c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/36623 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-04-20renumber string IDs and close 40 gaps of resident empty stringsEike Rathke
With the help of sc/util/number-defines-consecutively.awk Change-Id: I1d2656ee8527cde6d6464b423a332401946f82a1
2017-04-20keep list sorted by alphabetical opcodeEike Rathke
Change-Id: I8eafa00cadd6196e4e9dd87a00fd530c3945af2c
2017-04-20tdf87700 Hide rotate 180 in image toolbarYousuf Philips
Change-Id: I2c956542735909f2a2eab2e261f248fec85b7211 Reviewed-on: https://gerrit.libreoffice.org/36741 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2017-04-20tdf#106781 Style-focused formatting toolbar for writerYousuf Philips
Change-Id: I941c49aa502fa2757bb7f6a1d0cba4d02f00e686 Reviewed-on: https://gerrit.libreoffice.org/36717 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2017-04-20Resolves: tdf#99625 add parameter classification for TEXTJOIN and CONCATEike Rathke
So in array context the functions return a single string instead of an array of identical strings. Change-Id: Ia6ada10be4912745b60e281fac1736c560162d3a
2017-04-20Simplify PTHREAD_VALUEStephan Bergmann
The distinction between MACOSX and other had been introduced with ed8110e101db5a8ea4dde43a3ec38fe40e6fe7e2 "Avoid reinterpret_cast to same type" to work around a GCC 4.6 bug that is fixed since GCC 4.7. Change-Id: I7948721d311de2622c1e08e2ee17b5ccc304b51b
2017-04-20convert EDynamicMenuType to scoped enumNoel Grandin
and drop unused E_HELPBOOKMARKS Change-Id: I5756ea326bdc1a99f7d6f1ba43baf6aca9f7f2fc Reviewed-on: https://gerrit.libreoffice.org/36728 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20sc lok: Notify when comment is added to destination docPranav Kant
This can happen, for example, when undoing a deleted comment. Change-Id: I4aff244f1263b650457a70334f5f4d2c75ad3b64