summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-10-12bump product version to 5.2.3.1Christian Lohmaier1-1/+1
Change-Id: I8bdb3759cef21adb4a7bd027021ffbdb68c6a908
2016-10-12Branch libreoffice-5-2-3Christian Lohmaier4-1/+1
This is 'libreoffice-5-2-3' - the stable branch for the 5.2.3 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 5.2.x release, please use the 'libreoffice-5-2' branch. If you want to build something cool, unstable, and risky, use master. Change-Id: If6217b38f204d156f4bbdce17bca134c6aee4b8b
2016-10-12update creditsChristian Lohmaier1-1598/+1696
Change-Id: I0c5f943ed0d1a607ef86a26602f101f361b0aa2d (cherry picked from commit 29fe57afd79c96c5ff251c2468ababda5e506564)
2016-10-11update emoji autocorrect files from po-filesChristian Lohmaier26-22/+591
Change-Id: I1224534be24c4b401305cc25b01dff404d8d0e23
2016-10-11Updated coreChristian Lohmaier1-0/+0
Project: translations 8e8e7cee18581cfe2923246eba9e0b7edff71326 update translations for 5.2.3 rc1 and force-fix errors using pocheck Change-Id: I3c922e1b91581f1b5cd6a5b8d0662a3e7aba0fae (cherry picked from commit 4a45b12af9d0be41780e5a29b73e8e595f3f430f)
2016-10-10Resolves: tdf#101562 ScRefUpdate::Update() needs to flag sticky even unchangedEike Rathke2-4/+21
... so area broadcasters can be "adapted" (though not changed) and broadcast a change to invalidate listening lookup caches. This is the delete row part of the bug scenario. (cherry picked from commit 866eb4a7f93414932b8669d1a6afe0611655dfb4) tdf#101562 inserting within an entire col/row reference needs to flag change This is the insert part (e.g. Undo) of the bug scenario. (cherry picked from commit 180fe3e991432a5ab1ef573686ff9b35c732756b) 87060bd9f0ad6d58a11308e58e7ce56875327c52 Change-Id: Ie6072a6b8e7967faa135a3c4d0a9024b6afcd69c Reviewed-on: https://gerrit.libreoffice.org/29595 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-10bump nss to 3.27Caolán McNamara11-29/+122
Notable changes in NSS 3.24: * Add a shared library (libfreeblpriv3) on Linux platforms that define FREEBL_LOWHASH Reviewed-on: https://gerrit.libreoffice.org/27304 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f3fff04ddd411ab001cedfa43d6bbbb733440557) Change-Id: If99ee77bea40796cc56944724291a83068ff8198 Reviewed-on: https://gerrit.libreoffice.org/29664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-10skip hidden rows/columns for spellchecking, tdf#99607Markus Mohrhard1-2/+22
Change-Id: Ic84368f4bb70973c3c5f5293d852fc573c5f73f7 Reviewed-on: https://gerrit.libreoffice.org/29601 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit eadd75ef212b4dd1b43aeacb34c8dd3ab40df369) Reviewed-on: https://gerrit.libreoffice.org/29609
2016-10-09Updated corejan Iversen1-0/+0
Project: translations 3997f3b634be28bfe7ad52abd46067798a8f227a pootle update Change-Id: Idb289de371f61cb434835da13d9269cc3db23988
2016-10-07rhbz#1382401: Support surrogate pairs in HTMLOutFuncsStephan Bergmann2-15/+31
(cherry picked from commit 375b99cad4a79d26a6cbcd0f71bc12b312d95818) Conflicts: svtools/source/svhtml/htmlout.cxx plus cherry-pick of 6131bf9c96fb2ae37decf13e453f27304707271b "Minor performance improvement of previous patch" Change-Id: Ib578f758e4f5f355a79a014c2ad4660924dd34a4 Reviewed-on: https://gerrit.libreoffice.org/29592 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-06tdf#103025 sw: don't format header/footer in SwPageFrame::PreparePage()Michael Stahl3-16/+9
This has always been dead code because it used wrong constants FRMTYPE_HEADER|FRMTYPE_FOOTER which is actually Page|Column and SwPageFrame and SwColumnFrame are not direct children of SwPageFrame. Then commit 901e5c3a21a1299d10c44bc844246fe8c329bb82 fixed the constants but somehow the early formatting of header/footer results in wrong expansion of variable text fields, so just remove this code. (cherry picked from commit f933da55797566cf725e35ab0df17e91c7d5598f) Change-Id: I0af13168970f26355a1b247e071235166d08b7a4 Reviewed-on: https://gerrit.libreoffice.org/29557 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#102343 unable to undo stylesheet changes in master...Caolán McNamara1-0/+9
slides done via proxy textbox objects regression since... commit 12a4200e8ff7f045efcc7e9d15a24b15b248c437 Author: Armin Le Grand <alg@apache.org> Date: Thu Aug 9 08:42:27 2012 +0000 Related: #i120498# Enhanced Undo/Redo and user experience... when editing texts in graphic objects and/or tables The issue is that the formatting changes in these master textboxes create changes in the stylesheet, rather than just changes in the textbox itself and the changes above don't take that into account and throw away these unusual undo objects. Change-Id: I209758cefa96b2f886161de1d44d6a68d007faa7 (cherry picked from commit 057d8abebb19fedd769a43120621488ba305cf93) Reviewed-on: https://gerrit.libreoffice.org/29369 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#101953 controls become wider/smaller switching to/from graphicsCaolán McNamara1-0/+20
Change-Id: I20a82d1ff2f3a11b0f327eecc90a2bb30bd4df3d (cherry picked from commit d2e69a61a3e3b962cddf576558f1412c7baacd06) Reviewed-on: https://gerrit.libreoffice.org/29513 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#101470 don't restore last value when submenu appearsCaolán McNamara1-1/+1
Change-Id: Ia0cce8607334289b619b1f59dbdd67b000a06e01 (cherry picked from commit b72593fac6addd571158bd37deccccb0045104a8) Reviewed-on: https://gerrit.libreoffice.org/29475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#101004 crash on using slide master design from master viewCaolán McNamara1-8/+10
started asserting since... commit f7ed8b99b628625851fb28ec1a3dead710c8871c Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Jun 23 16:54:52 2015 +0100 allow slide design to affect multiple standard pages but looks broken well before that Change-Id: I03988696e7a25e4f8c932f55bcd1879994ac1005 (cherry picked from commit 43e241541eefd21cfc7a8e8f51ef958c2a7ba4d7) Reviewed-on: https://gerrit.libreoffice.org/29405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#102334 Some hidden text not imported as hidden correctlyCaolán McNamara3-2/+10
began to be a problem since.. commit 705a8c226aee3e68db492083b7cf8b704335328b Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Sep 23 20:35:50 2014 +0100 WW8PLCFMan::AdjustEnds deeply flawed concept wrt change tracking but underlying problem is... commit b3cee382f449aa69213dc21f7b1ba6a5356d2865 Author: Caolán McNamara <caolanm@redhat.com> Date: Mon Jun 27 14:52:41 2011 +0100 Related: #i76955# make this 4+ times faster Change-Id: I1cd42a0f51599efab9352c960a5f496626af7ac0 (cherry picked from commit 04f571349c1b540900fc5cebfa6a10904e349a75) Reviewed-on: https://gerrit.libreoffice.org/29386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#102358 writer cannot save 3d shape inserted from drawCaolán McNamara1-6/+3
because SwXShape::supportsService always returned true for com.sun.star.drawing.Shape I surmise that getSupportedServiceNames should always list com.sun.star.drawing.Shape as a supported service This went awry with... commit 2f50ce6cfab2871cd879c1429e1938d3642616ef Author: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Date: Thu Dec 5 19:17:18 2013 -0200 fdo#54938: Convert sw to use cppu::supportsService Change-Id: Ic27bf31e5eb991ccceb8b97713d1e50a736709c8 Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Change-Id: I9821a620da8bac3b6b59da976a8c25bb2deafcf1 (cherry picked from commit 5345b1562066d61b9ed79f072f8a953c67f847ed) Reviewed-on: https://gerrit.libreoffice.org/29360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#101884 keyboard navigation in User defined border controlCaolán McNamara1-0/+1
Change-Id: I92ea37754f057c560d19b41f814a1d649ea74876 (cherry picked from commit f20996450e409406f4f55f9eb7ca9bfe1e455c35) Reviewed-on: https://gerrit.libreoffice.org/29330 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#102177 focus not restored from context menusCaolán McNamara7-58/+50
this is a bunch of squashed together commits, much easier to read commit by commit the problem being that the attempt to restore the focus in the document in the floatingwindow tear down is blocked because the menus have set that window as modal so the focus isn't set. The attempt to set the focus in the floatingwindow teardown causes the SavedFocus in the menufloatingwindow to be dropped, so the extra layer of code to restore focus after modality is removed doesn't do anything this is fallout from... commit dd46727b99d4bb5135451aa7e5e1bdb197373843 Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Apr 5 15:27:38 2016 +0100 Resolves: tdf#87120 no keyboard navigation inside floating windows which allows the focus to "truly" enter the menus, triggering the floatingwindow attempt, which fails but blocks the menufloatingwindow attempt easiest thing seems to make the restoring modality, and then restore focus, something that MenuFloatingWindow does before it finishes (cherry picked from commit 4da7971812b0a53ba80f7d9c29851c527488067d) the only place the default xFocusId arg isn't used... the argument is (effectively) equal to the default (cherry picked from commit 95a6d24ed7a231c42ccd608fb93cbed989a62e3a) EndSaveFocus return value is unused (cherry picked from commit 98da362f1691734437cb37f902fb1cdab613ac0a) EndSaveFocus does nothing on the !bRestore case (cherry picked from commit 9b7dfb10641ba7978ffcbd1db0507163411ae027) detangle code that now looks silly since... commit 9b7dfb10641ba7978ffcbd1db0507163411ae027 Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Jun 9 16:52:21 2016 +0100 EndSaveFocus does nothing on the !bRestore case removed the code that made it look like it made sense (cherry picked from commit 0d56cc15803965a1be6991a3630076f7ccf67817) Change-Id: I97a4ac71419dcb04709e4667586d8343e89ddbeb 26fcd43d2bc8e37e6887c244f728e3231328e34e 746e47b118a8b8c687c435371e2bdf2dc22cbf88 8e199535803faf364469f9b9df46f339febe25c6 2e7280fd6643e86d65cba04c8302be099d6f3d0e Reviewed-on: https://gerrit.libreoffice.org/29326 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#102347 configure size/expose might never come...Caolán McNamara4-22/+2
if you request a size you might not get it. This attempt dating through... commit 6dc1d2706f519d91617ac1a12fc2051d97ef98c0 Author: Caolán McNamara <caolanm@redhat.com> Date: Mon Jun 15 10:56:33 2015 +0100 another stab at tdf#91393 block paints only if the new requested size is larger than the original and unblock on explicit expose events as well as configure ones ... commit 8f324aebfb94c4b2023894121b954ad4f35eb395 Author: Caolán McNamara <caolanm@redhat.com> Date: Sun Jun 14 15:49:56 2015 +0100 Resolves: tdf#91393 autotext (etc) not fully drawn ... commit e6a1956034c98204e30b0ca40330249d6f6f8155 Author: Jan Holesovsky <kendy@collabora.com> Date: Fri Jun 12 15:36:03 2015 +0200 tdf#91301: Don't cache incomplete tabs. After introduction of the Idle processing, something has changed so that the underlying GetGdkWindow() does not update its size fast enough; even though the gtk_window_resize() is called before the Window::Erase() (that actually paints the background) etc. is all junk. I don't see the original problem of tdf#91393 or tdf#91301 anymore under gtk2 after reverting this yet anyway to see if they need another fix. Change-Id: Ide071eba279de726a9c6a80884bc9021c8914d9d (cherry picked from commit 99ee7deaf0a7a61bc74e8cb2d8a654fb675f50bb) Reviewed-on: https://gerrit.libreoffice.org/29189 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-06Resolves: tdf#103026 invalid dash causes CAIRO_STATUS_INVALID_DASH stateCaolán McNamara1-1/+4
(cherry picked from commit c5d355e9c9cbc94eede8f438895e192d834f7096) Change-Id: I072635ff7c67022ebfd5bdb475e390f3aab7a51c Reviewed-on: https://gerrit.libreoffice.org/29552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-05Resolves: tdf#101711 revert attempt to drop unused bg imagesCaolán McNamara8-167/+26
for 5-2/5-1 simply revert the effort Revert "Related: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if..." This reverts commit 914d72ee1edb351e4975a516240a38696f619217. Revert "Resolves: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if..." This reverts commit de4908eb4d2f1f2ce38a37eea18a9efc4a0073b1. Revert "use unique_ptr" This reverts commit ee4f35090657fdce572c5bc6238aceb4098a6e4e. Revert "fix typo" This reverts commit a084962e8c3deaeb3c1b6b9119215b48cf27e76e. Revert "rbhz#1326602 avoid exp. bg bitmaps from deleted slides" This reverts commit b876bbe2cacce8af379b10d82da6c7e7d229b361. Change-Id: I65a2f50d1087d6f8bb94d8bb73d54d3f378c6800 Reviewed-on: https://gerrit.libreoffice.org/29490 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-10-04tdf#96161, always write the varyColors elementMarkus Mohrhard1-0/+2
The default value changed between MSO 2007 and 2010 so we need to always write the value. Change-Id: I563eafa84baa3df656c83d657ebbb4c381c09957 Reviewed-on: https://gerrit.libreoffice.org/29420 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 74b2cc607448d24146bd3508abb832d6ab42cb56) Reviewed-on: https://gerrit.libreoffice.org/29426 Reviewed-by: Eike Rathke <erack@redhat.com>
2016-10-04tdf#99386, broadcast that cell content changed after merge cells undo/redoMarkus Mohrhard1-0/+2
Change-Id: Idf41d1b07e26af66d9eefd18e5d5b582edc205e9 Reviewed-on: https://gerrit.libreoffice.org/29370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit f6f213bed507d1d7547f6098a67b6e460d46bce6) Reviewed-on: https://gerrit.libreoffice.org/29376 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-10-04tdf#101910, mark ScRangeList updated when DeleteArea was usedMarkus Mohrhard2-4/+20
Change-Id: I98390b28c5a1bbbd391ff054b2f574951c7c00c4 Reviewed-on: https://gerrit.libreoffice.org/29422 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 5f658dc87794036182aa1f8586d82c5ee997cd8b) Reviewed-on: https://gerrit.libreoffice.org/29424 Reviewed-by: Eike Rathke <erack@redhat.com>
2016-10-04support TargetFrame in url field import/export code, tdf#77873Markus Mohrhard7-8/+20
Change-Id: Id09ecbd10b8ee60371f223d62f2dd6fe1c2296ca Reviewed-on: https://gerrit.libreoffice.org/29459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit b11ad787372c4b833cc58a3738e375af26309b8d) Reviewed-on: https://gerrit.libreoffice.org/29463 Reviewed-by: Eike Rathke <erack@redhat.com>
2016-10-04Engine() return mpOutliner, so can crash if Engine() used post deleteCaolán McNamara1-0/+4
if Deactivate called during ::dispose Change-Id: I066dcc52278f12442de0281c8d783353aed5a186 (cherry picked from commit 86617760eb8bc6c0b2713b9496ade9203d1077a5) Reviewed-on: https://gerrit.libreoffice.org/29443 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-04Updated coreAndras Timar1-0/+0
Project: dictionaries a5ac3e1d730e3fb84b2cc9c4108effeee613c6d2 Update pt_PT dictionary to version 16.10.1.2 Change-Id: I0f66f15b594bebaefc2b8ffbc26bff5450ebf292 Reviewed-on: https://gerrit.libreoffice.org/29510 Reviewed-by: Tiago Santos <tiagofsantos81@sapo.pt> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-03fix bug in DocumentSettings::LoadList when testing result of lastIndexOfNoel Grandin1-1/+1
managed to trigger it in a flat ODF test document of mine. I suspect that this might have something to do with one of the various conversions to OUString, the old String APIs might have returned -LARGE_INTEGER instead of -1. code was introduced in commit cbcfda9b2079ea4ef83b2a42828408b5f70f7692 Author: Michael Meeks <michael.meeks@novell.com> Date: Mon Sep 5 17:22:24 2011 +0100 add XPropertyList enum, factory, and associated cleanup Change-Id: I39b4715cc12ef6366fe0466786589ef198602a98 Reviewed-on: https://gerrit.libreoffice.org/29473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 9f0096d934fcdec6cd55e32a15fd438f628f894b) Reviewed-on: https://gerrit.libreoffice.org/29480 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-03Avoid pointless single-line wrapper for OpenCL isnan()Tor Lillqvist9-554/+553
Change-Id: I4056a1afac1413616a06d0b2f03d4bdead6cad10 Reviewed-on: https://gerrit.libreoffice.org/29483 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-10-03tdf#101843, ensure repeated rows set the hidden/filtered flag correctlyMarkus Mohrhard1-0/+6
Change-Id: I759107eeb074698d5e4987c76005788aee33287d (cherry picked from commit 7e7f6b0a056b51a425934f63745ae5c9fed2e51f) Reviewed-on: https://gerrit.libreoffice.org/29327 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-03tdf#102872 TAB function is missing its argumentLaurent Balland-Poirier1-0/+1
Commit 98f0e0eda50690bd01842c806bd13e3bc5af2966 introduced TAB function but its declaration in basic/source/runtime/stdobj.cxx is missing its argument So it used TAN function as argument Change-Id: Id4461ca805f9c7034b0440de46b845f29f57e3b0 Reviewed-on: https://gerrit.libreoffice.org/29452 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-01Resolves: tdf#101475 adjacent cells text is still too wideCaolán McNamara1-1/+1
Change-Id: I8fae7197b191de4346a4fb0f2226c63bc615b29d Reviewed-on: https://gerrit.libreoffice.org/29346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-30tdf#101894 Copying a single sheet with a chart on it garbles the chartNoel Grandin1-7/+3
..on the new sheet Bug introduced with commit 86e9ef21a06a9babefb778dfc3e02118d371d70d Author: Noel Grandin <noelgrandin@gmail.com> Date: Tue Mar 8 20:41:21 2016 +0200 sequence->vector in sc Change-Id: I7a6539005f42c7a7036c60b12a9ff2f77f71ba6b Reviewed-on: https://gerrit.libreoffice.org/29169 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29tdf#102073: sw: do not create SwFootnoteNumPortion inside tableMichael Stahl1-0/+2
The SwTextFormatter::WhichFirstPortion() wants to create a new SwFootnoteNumPortion for the first paragraph in every cell, because it doesn't have mpPrev set and SwTextFrame::IsFootnoteNumFrame() is true, and somehow this even causes an infinite loop in the bugdoc because initially nothing more than the footnote number fits inside a line. Just detect that it's inside a table and return false then. Change-Id: I1f010f1242d53d9f99a4d3a4f6fc3cee65aa3958 (cherry picked from commit ebcbc970f8d0ecbba8c6d7e7c2a1b977d63bc2fb) Reviewed-on: https://gerrit.libreoffice.org/29362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-29tdf#83306: sal: fix compare of rtl::OUString/OString containing '\0'Michael Stahl1-4/+5
For whatever reason oox shape import code uses OUStrings that contain '\0' characters. The rtl_uString / rtl_String are allowed to contain '\0' but the strncmp/wcsncmp functions stop comparing on the first '\0', so use memcmp/wmemcmp instead. (regression from 281989007fd7dea997ed9a65f513f80b1aff67dd) Change-Id: If148927f19d065a21f32f3c14433b0bda7ae9301 Reviewed-on: https://gerrit.libreoffice.org/29384 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit de7ed418e7813c85f192b558ff06e976eccaa54d) Reviewed-on: https://gerrit.libreoffice.org/29387 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-29Resolves: tdf#101433 reset RasterOpMode on cached virtual device before reuseCaolán McNamara1-0/+1
(cherry picked from commit 17f912c5bb63426f0758dccbc3357a73f56f3137) Change-Id: I178aa499b080b0b684d41fdd4115a6398f944c43 Reviewed-on: https://gerrit.libreoffice.org/29389 Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-28RepositoryExternal: enable glew also for ENABLE_OPENGL_CANVASMichael Stahl1-1/+1
The OpenGL variables were refactored quite a bit on master, but this just fixes the --enable-mpl-subset build that was reported as broken on the list. Change-Id: Ida91a7654e905542b9e129c5d56a312ea2fa65c6 Reviewed-on: https://gerrit.libreoffice.org/29328 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-28fix build on 32-bit ARM on latest RawhideDavid Tardon1-1/+2
Change-Id: If00c42235d6ec92634dc8c23fdcbb50e332ffa68 (cherry picked from commit 99d2240ab618b4877af99234e8897315c00ad01b) Reviewed-on: https://gerrit.libreoffice.org/29343 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-28Resolves: tdf#98946 too many running MathTypes...Caolán McNamara1-0/+16
causes mathtype to display a warning dialog, so try restoring them back to loaded after loading them in order to get their preferred size Change-Id: Idff714efa228a739f380dbae429d852a8f8c5298 Reviewed-on: https://gerrit.libreoffice.org/29234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit e6fc195ae8a59d665395149ea5f06749c4c6a596) Reviewed-on: https://gerrit.libreoffice.org/29316 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-09-27tdf#101104 this paranoid safety check actually causes a bugMarkus Mohrhard1-4/+0
Change-Id: Id31f98f5f84eabf603045e4d9f7ebd448689eed5 Reviewed-on: https://gerrit.libreoffice.org/29307 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-27tdf#101898: Only re-substitute whole segments with $(username)Stephan Bergmann1-1/+2
...otherwise, if $(username) happens to be "user", it will endlessly re- substitute inside a (already partly re-substituted) URL of the form $(user)/... Regression introduced with 16fb0d3d0f68708c183c53bd18660a23970b77fe "tdf#98407 PathSubstitution: Add substitution for $(username)". Change-Id: I1c8b64f383fdfd97fa5edc192e9ca4b46944d6f1 (cherry picked from commit 653e0ccc4e6230f28dd4c553dc7e9482beafa3cd) Reviewed-on: https://gerrit.libreoffice.org/29314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-27Resolves: tdf#83037 <--> corrected into ← → instead of ↔Caolán McNamara1-7/+11
don't use - as a word separator except for breaking up a compound word for the purposes of tdf#55693, e.g. TEst-TEst autocorrected to Test-Test) Change-Id: Ie52a16af0b5838d1ba0de9c5f9c30dcab05c3bc7 (cherry picked from commit 0bfefc0b396bd61cc5f508bf86afc12cfadaa483) Reviewed-on: https://gerrit.libreoffice.org/29190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-09-27Resolves: rhbz#1378521 csv dialog a11y returns a new accessible on every queryCaolán McNamara2-4/+38
the gtk a11y rather assumes that the a11y things "belong" to the matching widget/component and those owners will dispose them, so follow that pattern here and dispose the a11y objects when the parent is disposed to reproduce, enable a11y, load a csv, click once in the first column of the preview area and cancel the dialog and close libreoffice Reviewed-on: https://gerrit.libreoffice.org/29301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f626fd5f897796451685c06ce5f397a90aeaa8e6) Change-Id: Ib830da499e9f2d6fed94fb12ede7c929b607ab10 Reviewed-on: https://gerrit.libreoffice.org/29303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-09-26tdf#91043 - vcl: gtk file picker should tolerate empty filter list.Michael Meeks1-41/+47
Apparently LibreLex creates a dialog through UNO and sets no filters. Change-Id: I518beef6f9c6ebab0d2e49bda78a33a283ad93d3 Reviewed-on: https://gerrit.libreoffice.org/29238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 3be5deadcb46e09d84d99b2b108b65b06ff356e9) Reviewed-on: https://gerrit.libreoffice.org/29291 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-26Makefile.in: check JAVA_HOME/bin, not JAVA_HOME/includeMichael Stahl1-1/+1
On Mac OS X 10.8, the directory contains "bin" but not "include", so it re-runs autogen.sh all the time. JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Change-Id: I9065c8daef47df535f60267fc2c3e7cb23fc3910 (cherry picked from commit fcdf75d9460c933670a03b5d88de17838db23ee2) Reviewed-on: https://gerrit.libreoffice.org/29239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-09-26Related: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if...Caolán McNamara1-1/+6
This is similar to de4908eb4d2f1f2ce38a37eea18a9efc4a0073b1 where the master page is not the sole owner. Which happens when copying and pasting slides which bring along a duplicate master page to an already existing one, and the attempt to remove the duplicate strips the fill properties from the shared stylesheet in use by the other regression from... commit b876bbe2cacce8af379b10d82da6c7e7d229b361 Author: David Tardon <dtardon@redhat.com> Date: Tue Apr 26 09:17:11 2016 +0200 rbhz#1326602 avoid exp. bg bitmaps from deleted slides Change-Id: I0a3a34ade2ad8464b1edb67a6e28dab45c761a2c (cherry picked from commit 914d72ee1edb351e4975a516240a38696f619217) Reviewed-on: https://gerrit.libreoffice.org/29019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-09-23Resolves: tdf#99626 only the first queryTermination call in wizards worksCaolán McNamara4-5/+3
cause the first call looks up the "queryTermination" method on the object and replaces the object with that function, then calls on. Subsequent calls then try to lookup "queryTermination" on "queryTermination". Just pass queryTermination directly in the ctor (like all the other wrappers do) Change-Id: Ie042081c3c34e33b2f040d1ab1a33eeac4df9c3b (cherry picked from commit 01889962cab8449e1d9682d22db0f6e1e28252fd) Reviewed-on: https://gerrit.libreoffice.org/29229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-23Resolves: tdf#101971 OleLoad under structured exception guardsCaolán McNamara1-2/+15
sample pptx crashes down in the depths of (apparently pre-installed on 32bit Windows 10) Flash.ocx Change-Id: I4e083d492e56e72df47b2c172d7f07f0e39b82ea Reviewed-on: https://gerrit.libreoffice.org/29199 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 373b44a2fcbe78e8a3ff14cd410826af151a6adf) Reviewed-on: https://gerrit.libreoffice.org/29212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-22coinmp: no need for bzip2 libraryMichael Stahl1-0/+1
Change-Id: I1f5115defa3619f13ce00d64d5532d2b08dc2ccb (cherry picked from commit 3d31cf66bb0c3f628cd175b50373f746ec45645f) Reviewed-on: https://gerrit.libreoffice.org/29177 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>