summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-07tdf#42949 Fix IWYU warnings in include/vcl/[v-x]*Gabor Kelemen427-57/+510
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I98f49765c6b74808dcbd692e0f375dd2848fcfd4 Reviewed-on: https://gerrit.libreoffice.org/65614 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-01-07Simplify containers iterations in sc/source/ui/{unoobj,vba}Arkadiy Illarionov17-240/+180
Use range-based loop or replace with STL functions Change-Id: Ia8a8cfb71047e5612aa62c817c76ae0dfb7b3fa2 Reviewed-on: https://gerrit.libreoffice.org/65903 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-01-07tdf#121812 colibre and breeze wrong icon for roman uppercase listandreas kainz2-4/+0
Change-Id: I52e1156bf67fa098346d0016a0f8b55a1fbacbdc Reviewed-on: https://gerrit.libreoffice.org/65912 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-07tdf#118813 update colibre Fontwork iconandreas kainz5-7/+21
Change-Id: Iee30bc0f916f31ef60e8dbaa9aa6947c12f2852e Reviewed-on: https://gerrit.libreoffice.org/65911 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-06sw: DocumentIndexTest - "fix" the commentTomaž Vajngerl1-2/+6
Change-Id: I735a0a4e2c273dcdc271d39ec141ead28d6b0493 Reviewed-on: https://gerrit.libreoffice.org/65910 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-06tdf#120195 tab focus removed Aditya1-1/+1
Change-Id: Ifda610ecf80fbecefc86e097cf40330a6cd3343b Reviewed-on: https://gerrit.libreoffice.org/65867 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-01-06tdf#82504 writer table cell background color SvxColorItem uno functionJim Raykowski16-9/+78
Current background color function only sets table cell background when multiple table cells are selected. Paragraph background is otherwise set. This gives expected results for use in sidebar Paragraph panel when multiple table cells are not selected but unexpected results when multiple table cells are selected. For background setting from the table tool bar unexpected paragraph background color is set when multiple cells are not selected. This fix creates a table cell background color uno command specific for setting table cell background color. Change-Id: Ic56723b635252415d932c5499f996c3e46eee13b Reviewed-on: https://gerrit.libreoffice.org/65591 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2019-01-06tdf#122425: explicitly remove borders for newly created flysMike Kaganski5-1/+73
After commit d398e9248c183cf988b6d985b342b0cbff93ea02, it's necessary to make sure that each created floating object has proper default border and spacing values (empty and 0), to not inherit frame style's non-0 values unintentionally. This fixes two places for objects in headers/footers. Change-Id: I2632bcd4066609c97aa15e39d69e9089ac691ff2 Reviewed-on: https://gerrit.libreoffice.org/65906 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-01-06tdf#120108 Wrong wrap optimal iconandreas kainz51-284/+214
Change-Id: I7ebed364ca32c6a46387c56dfa750c8ad2c31eb1 Reviewed-on: https://gerrit.libreoffice.org/65902 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-06Breeze icon final sync with colibreandreas kainz109-10/+360
Change-Id: I84f2d979be64d9df6569e19a15c30e777c22c1a0 Reviewed-on: https://gerrit.libreoffice.org/65893 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-06tdf#120170 Use parent key input handler for controls that use subeditJim Raykowski1-1/+1
and for key input that is unhandled by edit key input handler Change-Id: Idd41cca737edb5ead241c3d660cd82870206467b Reviewed-on: https://gerrit.libreoffice.org/64417 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2019-01-06tdf#11950 add mailerge icons to breeze and colibreandreas kainz66-0/+558
Change-Id: I817a48a9dd817bb876e4b58a8effa1d0eda21a2c Reviewed-on: https://gerrit.libreoffice.org/65895 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-05Breeze icon updateandreas kainz136-47/+393
Change-Id: I08e3609cae6768f9a20ee54e089dad8eaed82b42 Reviewed-on: https://gerrit.libreoffice.org/65877 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-05Update git submodulesLibreOfficiant1-0/+0
* Update helpcontent2 from branch 'master' - Removal of a superfluous link. Change-Id: Ib3cedf58bce141ddfd27c438a0a37e73b1a7bd77 Reviewed-on: https://gerrit.libreoffice.org/65889 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-05Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' - Remove extra line Change-Id: Ice99f7fe5e46bb823b1e27bb857d3fcb5575e3a5 Reviewed-on: https://gerrit.libreoffice.org/65891 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-05[API CHANGE] Change the type of Embed*ScriptFonts props to boolTomaž Vajngerl1-3/+3
By mistake EmbedLatinScriptFonts, EmbedAsianScriptFonts and EmbedComplexScriptFonts properties were using the type short in the Settings.idl, but everywhere in the code the props were already using the type bool as intended. This change fixes this. Change-Id: Idc717b592477ada3ea968e08a5f2593b92d2f454 Reviewed-on: https://gerrit.libreoffice.org/65886 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-05Fix typo in method nameAndrea Gelmini1-1/+1
Change-Id: I6d4a0dfa1eed5da0efdac7553d73fc3ae681f5f9 Reviewed-on: https://gerrit.libreoffice.org/65883 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-01-05Fix typoAndrea Gelmini1-1/+1
Change-Id: I8737a10d0751133cac7d825721dfebd7ca2f2222 Reviewed-on: https://gerrit.libreoffice.org/65881 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-01-05Update git submodulesAndrea Gelmini1-0/+0
* Update helpcontent2 from branch 'master' - Fix typo Change-Id: I503abdd631c5ee53466f9bc73be0650e69098806 Reviewed-on: https://gerrit.libreoffice.org/65880 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-01-04Update git submodulesAlain Romedenne1-0/+0
* Update helpcontent2 from branch 'master' - tdf#121736 More Help pages on Python Entry page for examples. Comments left intentionally for later fill. Change-Id: Ifacad703097187180cc3909be4ba9a81f80244be Reviewed-on: https://gerrit.libreoffice.org/65866 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-04Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' - Fix typo Change-Id: I5941a60790ad4a1d16f4888807aa0756fe687b26 Reviewed-on: https://gerrit.libreoffice.org/65865 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-04Breeze icon updateandreas kainz65-28/+153
Change-Id: I701f20f714b79cd3df6ebef3b38620f7fd31bd88 Reviewed-on: https://gerrit.libreoffice.org/65844 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-01-04Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' - Update list of missing icons in Help Change-Id: I6c2afb3b0ec5a0341fd6a1d0e2120e015f93e926 Reviewed-on: https://gerrit.libreoffice.org/65862 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-04Update git submodulesAlain Romedenne1-0/+0
* Update helpcontent2 from branch 'master' - Enum help page preciser content Change-Id: Ic1f8926050f6b1b4a45f2da6dae784261ecd9a9e Reviewed-on: https://gerrit.libreoffice.org/65493 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-04tdf#122424 RTF import: ignore table row text outside the cellsLászló Németh5-3/+64
instead of extending the next row with them. Change-Id: I09941e977d0036fcea07885ccc7b745d396619c2 Reviewed-on: https://gerrit.libreoffice.org/65852 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2019-01-04mysqlc: Fix result set metadata related issueTamas Bunth5-68/+124
In order to allow fetching result of multiple result sets at time same time, all the data is fetched and copied on demand from the mysql result set. The mysql result set (MYSQL_RES) is freed afterwards. That means we need a copy of the meta information as well. Now all the meta data is stored in the driver for each result set, so it does not depend on the MYSQL_RES structure anymore. Also add test case for invoking some meta data queries before and after fetching the result set. Change-Id: Ie8bf993926ebe89cd362ab0b311d1f3d164b84df Reviewed-on: https://gerrit.libreoffice.org/65717 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2019-01-04tdf#122459 Qt5 IM underline pre-editJan-Marek Glogowski1-0/+5
This simply always underlines the pre-edit text, so it'S easier to see what text block is currently IM edited. Change-Id: I45145e4faa872c44eb6583ac6f335dd40fe3e53e Reviewed-on: https://gerrit.libreoffice.org/65856 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-01-04Unfloat: Test layout change of unfloat operationTamás Zolnai3-2/+64
Change-Id: I75298a392de6a10861ac96e1bc58a30173cd2dd2 Reviewed-on: https://gerrit.libreoffice.org/65823 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-01-04svtools: expose document position in DocumentToGraphicRendererMiklos Vajna7-5/+69
Writer pages always have an offset inside the root frame, and this is visible in the generated metafile as well. The offset is minimal for a small window and a single page, but the vertical offset increases with every page. Make this information visible, so sfx2 can compensate this. This is somewhat similar to what SfxObjectShell::DoDraw_Impl() does, but that works for the first page only (use case is thumbnail generation), while this is 0 offset for Calc/Impress and a proper offset for all Writer pages. Change-Id: I1075c98faf74f9e77c916572b4d63d40fbd80ab1 Reviewed-on: https://gerrit.libreoffice.org/65850 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2019-01-04tdf#42949 Fix IWYU warnings in starmath/inc/*hxx & starmath/source/*hxxGabor Kelemen36-44/+73
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If1a597f4c2241dc1ad5687d81199bbc5745e711f Reviewed-on: https://gerrit.libreoffice.org/65624 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-01-04Add apparently missing ! to GlobalEventConfig_Impl::hasElementsStephan Bergmann1-1/+1
...which had been like that ever since the code's introduction in 026f5ef5eee4bc75dafbdc00216808daf5acce7e "INTEGRATION: CWS docking1" Change-Id: I2d5ae3a03aaf75a0f8df40c641f7233c6b19630e Reviewed-on: https://gerrit.libreoffice.org/65848 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-01-04Removed executable permission on source filesAndrea Gelmini1-0/+0
Change-Id: Icac69c9084d0e7afc8bd371237fa08910231380e Reviewed-on: https://gerrit.libreoffice.org/65845 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-01-04Fix typoAndrea Gelmini1-1/+1
Change-Id: Ic162e36173fb2bfe9c0006d5b608714fa104c541 Reviewed-on: https://gerrit.libreoffice.org/65846 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-01-04nss: disable gtestsMiklos Vajna1-0/+1
We don't run them and building them takes a while, especially with -j1. Old time: 2m35,809s New time: 1m12,858s (With ccache disabled.) I.e. 47% of baseline. Change-Id: I3e2d75b27be3c5995b5e6db9812c9f82d33f42fd Reviewed-on: https://gerrit.libreoffice.org/65843 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-01-04Unfloat: Disable undoing of unfloat operationTamás Zolnai1-2/+15
I tested to use undo events for unfloat operations: moving a table outside of the text frame and removing the text frame, but sometimes it just crashed. So now we handle unfloating similar to the reverse operation (table is moved into a text frame(MakeFlyAndMove). Change-Id: I4eaeda550ccc51252abd4abde6cee45c76a8483e Reviewed-on: https://gerrit.libreoffice.org/65822 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Jenkins
2019-01-04Unfloat: Implement unfloating of a floating tableTamás Zolnai1-1/+48
Triggered by the unfloat button. Change-Id: I863f0ec481480343c184b0b5fa94b9ba1aa9276c Reviewed-on: https://gerrit.libreoffice.org/65821 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-01-04Unfloat: Add some tests about the visibility of the unfloat buttonTamás Zolnai9-5/+122
Change-Id: Id0bc6e5be5a55480233afeae44eccac24fa01434 Reviewed-on: https://gerrit.libreoffice.org/65820 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-01-04Fix up file permissionsTamás Zolnai6-0/+0
Change-Id: Icfc994cec2fff87e79de3d8e38a51b038e817940
2019-01-04Unfloat: Handle unfloat button visibilityTamás Zolnai5-0/+131
We need to update the state of the button every time when the frame's layout changes or when the selection changes. Show the button if the text frame is selected and it's a floating table which would hang out of the actual page after unfloating. Change-Id: I6b64affb063f552921915a0735e80889e5fd8124 Reviewed-on: https://gerrit.libreoffice.org/65819 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-01-03Fix build: missing includeTamás Zolnai1-0/+1
Change-Id: I3f2dfedfd7869e1206dd48f1f99bfc2ddf11213b
2019-01-03Unfloat: Introduce Unfloat table button as a frame controlTamás Zolnai10-40/+256
Use the same button style and color what LO uses for header/footer button. Later it might be a good idea to have a separate configurable color for this button, but for now it's seems unneeded to introduce a new configure option for this. Change-Id: Idf86aaa44e29846a2ee211a81fe5376b4335bb05 Reviewed-on: https://gerrit.libreoffice.org/65818 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-01-03sfx2: missing includeMiklos Vajna1-0/+1
Change-Id: I1367a97035c3c03f2d4081b8c3e67ffbe86d8919
2019-01-03tdf#122442: use Timer to detect single-clicks vs double-clicksMike Kaganski2-6/+6
Regression from commit 821ae0fb9fa63e0171f987d5ec210ec121978b8f which appeared after commits changing scheduler/main loop in the range e6e8a060ecc6e4fd51cfe88e00d841d546ed5915..9b4abcd1c45a646a1ac9120fe1c489ba6bb44e95 Change-Id: I6cf58c1e83aa9621bdd4b5c14f8565d5c69e20c1 Reviewed-on: https://gerrit.libreoffice.org/65837 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-01-03Redaction: First stepsMuhammet Kara6-3/+116
- Add an uno command to create an empty draw document - Create a meta file from the first page of a Writer document - Insert meta file to the draw page - Doesn't work with normal/default view on big/high-res screens because of a bug in the MapModes. Manually setting zoom level to %200 or "Page Width" (to get rid of the extra space around the actual page) works for now as workaround. Change-Id: I05a987617efdda6690400ef550b81b58b21aa27e Reviewed-on: https://gerrit.libreoffice.org/64858 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-01-03vcl GDIMetaFile: easier dumping from debuggerMiklos Vajna2-0/+11
Calling a const member function is easy, creating a dumper instance is not. Change-Id: I4892f93f6e1d1f17021185bfd24e411c9d705b3b Reviewed-on: https://gerrit.libreoffice.org/65838 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2019-01-03sw: paragraph-sign: process signatures in one pass on loadingAshod Nakashian4-12/+17
This combines the metadata field restoration logic with validation/update of said field in one pass upon loading docs. This cuts down overheads and makes the code more readable. In addition, now that paragraph signature validation is quite cheap (separate commits), esp. when no signatures exist, we validate and update signatures (where applicable) when fields are updated. Change-Id: I4adcea579c591f9be457ed742d2cf54fa308163d Reviewed-on: https://gerrit.libreoffice.org/63008 Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-01-03uitest for bug tdf#99069Zdeněk Crhonek4-0/+99
Change-Id: Ic117937629b465227c564158b7c24270997cce78 Reviewed-on: https://gerrit.libreoffice.org/65839 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2019-01-03Avoid getTokenCountMatteo Casalin1-6/+11
Change-Id: Ib5fb26de4d51a348ed44987bac0131d18eaed921 Reviewed-on: https://gerrit.libreoffice.org/65675 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
2019-01-03Avoid getTokenCountMatteo Casalin1-4/+23
Change-Id: I66d6e8d91924b2dcca9ab8ab499fb94bfb1dc723 Reviewed-on: https://gerrit.libreoffice.org/65658 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
2019-01-03Get rid of ScStringUtil::GetQuotedTokenCount()Matteo Casalin4-61/+5
Change-Id: If50beb8edaf2c0bb0d336c81b4144ff58147771f Reviewed-on: https://gerrit.libreoffice.org/65657 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>