summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-30remove git-new-workdirThorsten Behrens
Seems that 'git worktree' is now the upstream-supported way to create light-weight working directories: https://blog.github.com/2015-07-29-git-2-5-including-multiple-worktrees-and-triangular-workflows/ Change-Id: I9f019238b59686e2a7e924869ffd2e8d1d8e2269 Reviewed-on: https://gerrit.libreoffice.org/52411 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30Removed duplicated includeAndrea Gelmini
Change-Id: I0585ba137dbd3a27ccf88d75974dc79c34e4ef85 Reviewed-on: https://gerrit.libreoffice.org/56582 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30Fix typosAndrea Gelmini
Change-Id: Ic3eadd695a11d4afdefa5ed4192faa47779e84f8 Reviewed-on: https://gerrit.libreoffice.org/54055 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30Fix missing newlineAndrea Gelmini
To complete previous commit Change-Id: I21f7e530848d022456bda17a86d42bc14a921efd Reviewed-on: https://gerrit.libreoffice.org/53896 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30sax: fix overflow in sax::Converter::convertMeasure()Michael Stahl
The problem is that -2^31 is negative after negation in 2's complement. This causes ODF validation error now in CppunitTest_sd_export_tests testFdo84043: Error: attribute "svg:x" has a bad value: ... svg:x="--2147483.-6-4-7cm" The validation error only happens in 32-bit builds; 64-bit builds show a different value svg:x="2139324.72cm", so there must be another problem somewhere else that isn't fixed here. Change-Id: If2040cb6ae914c69b7cc651d3ab2d5d232fc71fb Reviewed-on: https://gerrit.libreoffice.org/56718 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30autogen.sh: fix out-of-tree module Makefiles for Win32 makeMichael Stahl
These were created as symlinks, which doesn't work with Win32 make as it doesn't understand Cygwin symlinks. Instead, create them as actual files. Note: the reason why they work as symlinks at all is that the Makefile uses $(realpath) and partial_build.mk does not, so they can resolve relative paths from 2 different directories... Change-Id: I4a9abffae82561111a9525fb35ed4b174cc8d96a Reviewed-on: https://gerrit.libreoffice.org/56691 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30schema,sw: enable ODF validation in all sw testsMichael Stahl
Validate every ODT file that is exported via "reload" or "save". Change-Id: I010965191159605924b89fe21b0b3d47123c13bd Reviewed-on: https://gerrit.libreoffice.org/56607 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30schema,sd: enable ODF validation in sd testsMichael Stahl
There are actually 2 bugs here that affect the export, and just 1 new attribute. Change-Id: Id2d9eeeb62c97011712a376a844dec7c8a744116 Reviewed-on: https://gerrit.libreoffice.org/56606 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs)Stephan Bergmann
...see comments to <https://gerrit.libreoffice.org/#/c/56661/> "This cast seems completely unnecessary to me?" Change-Id: I57d27cd2aa2dc94bc2e0b49fe06a09d31301cb7e Reviewed-on: https://gerrit.libreoffice.org/56708 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): svlStephan Bergmann
Change-Id: Ife1db81f772ecf3bb713952be276ff8a2fd318a9 Reviewed-on: https://gerrit.libreoffice.org/56716 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): svxStephan Bergmann
Change-Id: Id5a26a8b8c23d76f4d26480bb7f37c447902371c Reviewed-on: https://gerrit.libreoffice.org/56703 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): frameworkStephan Bergmann
Change-Id: Ibcceaa03a73926b559a297f62b3d1d2676c9f4f0 Reviewed-on: https://gerrit.libreoffice.org/56698 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): formsStephan Bergmann
Change-Id: Iaf50a40576e0fc1dde1e221a791bda6e183e5072 Reviewed-on: https://gerrit.libreoffice.org/56696 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): editengStephan Bergmann
Change-Id: I1beefd1a3ae24361b5345d9c226c410493c363d8 Reviewed-on: https://gerrit.libreoffice.org/56694 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Colibre icons: add 32px iconsandreas kainz
Change-Id: Ib31a5308fe5345639aad791c72f23009b92d1ac4 Reviewed-on: https://gerrit.libreoffice.org/56722 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): basctlStephan Bergmann
Change-Id: Ib17804ca6ddbacdadb50f97c19636e245e7eabe1 Reviewed-on: https://gerrit.libreoffice.org/56692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): scStephan Bergmann
Change-Id: I2bba240b444811ff0b29149b4b731a1fa01d6270 Reviewed-on: https://gerrit.libreoffice.org/56700 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): writerfilterStephan Bergmann
Change-Id: I389287456feba683c6af650546931325e4a6f3ba Reviewed-on: https://gerrit.libreoffice.org/56707 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): vclStephan Bergmann
Change-Id: Iac5978ee41f76a2b34c7dae12509212ba1c9d7e7 Reviewed-on: https://gerrit.libreoffice.org/56706 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): toolsStephan Bergmann
Change-Id: I919e49f8581d38a82622ca4b8cf9c08de8da4964 Reviewed-on: https://gerrit.libreoffice.org/56705 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): swStephan Bergmann
Change-Id: Ib99c4a8f9d90e23a3083c74e72044a2b705a409d Reviewed-on: https://gerrit.libreoffice.org/56704 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): starmathStephan Bergmann
Change-Id: If013783e8a07fa7d8a613d11e5719a064e717852 Reviewed-on: https://gerrit.libreoffice.org/56702 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): sdStephan Bergmann
Change-Id: I043576ca1fa83180b326f65b05f6bc5c21814e82 Reviewed-on: https://gerrit.libreoffice.org/56701 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29tdf#118218: Implement FormatNumber VBA functionMike Kaganski
The existing unit test (previously non-functional because of defunct success condition) is fixed and extended. Change-Id: I2544f865144b25f51a5f0941e5d961f246f41c4b Reviewed-on: https://gerrit.libreoffice.org/56610 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): salStephan Bergmann
Change-Id: I64b6ffd3e43f14c5884bf6cf1c12ff3b147db6bd Reviewed-on: https://gerrit.libreoffice.org/56699 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Updated coreOlivier Hallot
Project: help b845484d0c4660211c3dc941bddf8c4275164720 Improve readability of page for do-loops Highlight statements in syntax sections Change-Id: I755ca4f7bd9aaeb1ee7183640523b8a790e560ac Reviewed-on: https://gerrit.libreoffice.org/56727 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-06-29Updated coreOlivier Hallot
Project: help 31d1063a04542851398075346f3bab18a424e28d Add mode="embed" for bascode Embeded <bascode> was not properly rendered because it had no embed mode Change-Id: Icdc91c5b00b165d7963248f9083837b899d382f2 Reviewed-on: https://gerrit.libreoffice.org/56726 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-06-29Remove obsolete (cargo-cult copied) dependenciesJens Carl
Change-Id: I6150095fdb3a1a6af4e88db8aa7b3dcf225a30d3 Reviewed-on: https://gerrit.libreoffice.org/56645 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): filterStephan Bergmann
Change-Id: I200be1277904d346dd02e64612e6f1bed24f17a3 Reviewed-on: https://gerrit.libreoffice.org/56695 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29sw: fix crash on F2 while drawing a polygonMiklos Vajna
The first hunk is probably a regression from my earlier TextBox work, the other is inherited from OOo, I think. Change-Id: If87d135c84c483d7a39f90e9edcf00594204fab8 Reviewed-on: https://gerrit.libreoffice.org/56689 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): basicStephan Bergmann
Change-Id: Ie22fe58dc2c2cc3867bd800f757433b68e0f2448 Reviewed-on: https://gerrit.libreoffice.org/56693 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29tdf#118441: also keep string-formula results for shared formulasMike Kaganski
... like it is done for normal cells. So, the cells that have markup like <row r="2" ...> <c r="A2" t="str"> <f t="shared" ref="A2:A65" si="0">Test(B2:Z2)</f> <v>0</v> </c> </row> <row r="3" ...> <c r="A3" t="str"> <f t="shared" si="0"/> <v>0</v> </c> </row> now are handled (wrt restoring the stored result value) just like cells with this markup without sharing have long been handled: <row r="1" ...> <c r="A1" t="str"> <f>Test(B1:Z1)</f> <v>0</v> </c> </row> Change-Id: Ifcf62cf6d073faff310aa8553c6f57f42ae588cc Reviewed-on: https://gerrit.libreoffice.org/56675 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-29Make the RELATIVETIMER be relative to start of the process, not to first callTor Lillqvist
Make it easier to compare timing logs even if you add a SAL_DEBUG() that happens much earlier than the others, the timestamps of the others will still be comparable to those from earlier runs. Change-Id: I13872ef9112d8515e563e561f9b2a50c8510bae8 Reviewed-on: https://gerrit.libreoffice.org/56676 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-06-29loplugin:useuniqueptr in SwFieldPortionNoel Grandin
Change-Id: I2ce38d46798627f808dd539a7d74f5c6cf7f509a Reviewed-on: https://gerrit.libreoffice.org/56631 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-29Fix calculations about version for javaTomáš Chvátal
This solves problem where java prints ton of warnings about too many CPUs which turned out to empty lines that are now ommited by the added sed command. Change-Id: I552f40289e1d598f11f98509b9e9b0b867336c3b Reviewed-on: https://gerrit.libreoffice.org/55377 Tested-by: Jenkins Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
2018-06-29loplugin:useuniqueptr in SwImplProtocolNoel Grandin
Change-Id: I7db3da4ed86ec919e7cf6dbe6e109b59c3a6751d Reviewed-on: https://gerrit.libreoffice.org/56630 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-29idl: change since from 6.2 to 6.1 for new status bar propertyVasily Melenchuk
New property introduced in d77f8eef165a7c6fd97cc06dcbc4ead55e7b633c expected to be backported to 6.1 Change-Id: I6486fa0f42adcd39c9929f4d90b7310e22d851c6 Reviewed-on: https://gerrit.libreoffice.org/56685 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-29loplugin:useuniqueptr in SwRootFrameNoel Grandin
Change-Id: I165c3df9392e1171770af02e12dda8e3257b72c5 Reviewed-on: https://gerrit.libreoffice.org/56629 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-29Colibre icons: fix table after before iconsandreas kainz
Change-Id: Id7e7e9ee66b284503fbd49661ac7c4152806e295 Reviewed-on: https://gerrit.libreoffice.org/56682 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-06-29Avoid warnings in QT5_CLFAGS system headersStephan Bergmann
Change-Id: Ib22903c5168f6be3b0ebb973b0e7bab9d3daf93c Reviewed-on: https://gerrit.libreoffice.org/56670 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Colibre icons: add 32px iconsandreas kainz
Change-Id: Ic998fd44d22d4a328e0083d3f91cd23d48c79f48 Reviewed-on: https://gerrit.libreoffice.org/56679 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-06-29Clean up SvxChartColorTableStephan Bergmann
* nNextElementNumber is unused since d57dfa29c2ba47293eb12a853cdccf4196565ef7 "Improvement of adding and removing color charts". * There appears to be no compelling reason to store sDefaultNamePre-/Postfix as members (but which are not even copied by the copy ctor). Just compute them whenever they are needed in getDefaultName (which is understood to not be a hot code path). * With those changes, the user-provided default and copy ctor can be left implicitly-declared, which avoids -Wdeprecated-copy (because the copy assignment op was implicitly-declared while the copy ctor was not) with GCC trunk towards GCC 9. Change-Id: I2bfa5f19c967e24407bf5b79adaf171200822f45 Reviewed-on: https://gerrit.libreoffice.org/56666 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29ODF1.3: import new OpenPGP encryption markupThorsten Behrens
With OFFICE-3940 the loext markup got accepted for ODF1.3 (and the redundant KeyInfo element removed). Make sure manifest parser can import new markup. Change-Id: Id3c88654e8e6e0e256cd68fbb43f1ef670849cf7 Reviewed-on: https://gerrit.libreoffice.org/56597 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-29schema: ODF 1.3 + libreoffice extensions schemaMichael Stahl
Build this with RelaxNG <include> feature instead of a complete schema. This isn't bad but could work better if the schema were a little more modular... In order to track down all the uses of extension namespaces like loext, invoke the validator without "-e". Change-Id: I92a666fc54c25d66cea38decdc188d60de2a0b74 Reviewed-on: https://gerrit.libreoffice.org/56488 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-29test: invoke ODF validator with custom schemasMichael Stahl
This requires a new validator jar for the -m flag to specify MathML schema. Change-Id: If99cf70f386a16a90ba676f8f5ff65a537c9ce56 Reviewed-on: https://gerrit.libreoffice.org/56487 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-29schema: hack for the version numberMichael Stahl
Change-Id: I4188a0e3842d596e339475f94fe5d9833c2c1f28 Reviewed-on: https://gerrit.libreoffice.org/56486 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-29Updated coreTomáš Chvátal
Project: dictionaries 3e4d844783643fb625925c582fe518fc70b69d42 Convert Bulgarian dictionary files to UTF-8 As reported in openSUSE the files didn't load properly otherwise: https://bugzilla.suse.com/show_bug.cgi?id=1099508 Change-Id: I9651e596b733d3a3b240c24f0d7cd4389b8b9c35 Reviewed-on: https://gerrit.libreoffice.org/56674 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2018-06-29tdf#39468 Translate German termJens Carl
Change-Id: Id2ac80d1e66b2a4dacf40e51f33ced05fec2c223 Reviewed-on: https://gerrit.libreoffice.org/56656 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-06-29loplugin:useuniqueptr in SwLineLayoutNoel Grandin
Change-Id: I000e73a1c932e00c626e2f613e3154748e341fe8 Reviewed-on: https://gerrit.libreoffice.org/56628 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-29This cast seems completely unnecessary to me?Tor Lillqvist
Change-Id: I93a135afc1402d9095828c4d41d669471a37f565 Reviewed-on: https://gerrit.libreoffice.org/56661 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins