summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-03-12Version 4.2.3.1, tag libreoffice-4.2.3.1libreoffice-4.2.3.1Christian Lohmaier3-0/+0
Change-Id: I9d1006097b201cc474b67502b3628c2805d011db
2014-03-12bump product version to 4.2.3.1Christian Lohmaier1-1/+1
Change-Id: I504aae65eb774bb913d11375b17bd927ef67b711
2014-03-12Branch libreoffice-4-2-3Christian Lohmaier4-1/+1
This is 'libreoffice-4-2-3' - the stable branch for the 4.2.3 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 4.2.x release, please use the 'libreoffice-4-2' branch. If you want to build something cool, unstable, and risky, use master. Change-Id: I8ecfbce345f373e1a4fe8f58ebfe321ca485414e
2014-03-12Updated coreChristian Lohmaier1-0/+0
Project: translations eab38ba5adf1d1318d19dde70264ece49b3eb26a
2014-03-12Resolves: fdo#50855 Nimbus Sans L missing stylesCaolán McNamara1-1/+6
Change-Id: Ie8cdcf4ad0ffe52024fd5cfe33073abfc6aadca8 (cherry picked from commit 1e539dbf0fe3894bbf6bf1a0851163b56e37f090) Reviewed-on: https://gerrit.libreoffice.org/8556 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12force DPIScaleFactor to 1 on MacNorbert Thiebaud1-1/+9
Conflicts: vcl/source/window/window.cxx Change-Id: I37629e1ef18f9843fcbdd643d8aaee0b3c8baa73 Reviewed-on: https://gerrit.libreoffice.org/8560 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12Related: fdo#73051 make font size drop down of optimal widthCaolán McNamara1-5/+17
presumably keithcu felt the font size was too wide, so lets try and implement the desired effect of an optimal width. Change-Id: Idc1741de04b3559fa415ebcf2289f96ba240ca8f Reviewed-on: https://gerrit.libreoffice.org/8520 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12hidpi: Sidebar, fontwork, autoformat and other improvements.Keith Curtis13-26/+109
This is a second batch of HiDPI changes. It fixes the following areas: Sidebar * Impress Master pages preview * deck title height * tab (icon) bar * valueset dropdown control * wider maximum width * Draw and other misc. buttons which didn't get fixed by earlier change to Toolbar.SetItemImage There are several more sidebar issues, but it is much improved. Other changes * Writer and Calc auto-format dialog text * file-properties document image * fontwork gallery preview size * Calc table border control Change-Id: I95a0169a3b011836b1c75b3dcacb2733c9567ef3 Reviewed-on: https://gerrit.libreoffice.org/8519 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12hidpi: Nicer painting of the waved lines.Jan Holesovsky1-7/+22
Change-Id: I8773b47967bc1aa8cf33b9a1edc4f826291d3554 Reviewed-on: https://gerrit.libreoffice.org/8518 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12hidpi: Make many places Hi-DPI aware.Jan Holesovsky21-101/+291
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f Reviewed-on: https://gerrit.libreoffice.org/8517 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12Introduce DPI scale factor for Hi-DPI displays.Jan Holesovsky4-0/+12
This is supposed to stay 1 (no scale) for printers and default virtual devices, but should be set accordingly (2 or 3) for windows and virtual devices derived from windows. Various VCL widgets or paint operations should incrementally become aware of this, and changed so that they draw nicely on the Hi-DPI displays. This patch only introduces the behavior for waved lines. The default is currently being set depending on the DPI setting only; could be changed to a more clever way if necessary. Change-Id: I71118f9ab6b64028d1eeee76e860e999d5cd9d19 Reviewed-on: https://gerrit.libreoffice.org/8516 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-12Let's not leak here.Kohei Yoshida1-0/+1
Change-Id: I12a50d0028164c37d06ff846bfbeff56a4591d12 (cherry picked from commit 9cfa665706cbced0fa71c43bb9425f28a0145f67) Reviewed-on: https://gerrit.libreoffice.org/8558 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-12fdo#71622 compress svg files in ODFAndras Timar1-1/+1
Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278 Reviewed-on: https://gerrit.libreoffice.org/8551 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-12ignore large twips values like MSO does (cp#1000043)Luboš Luňák1-2/+5
(cherry picked from commit 10b4da63e3143108ba75891e9e98fdaa2f7953ab) Reviewed on: https://gerrit.libreoffice.org/8550 Change-Id: Ib304245b6ae64c15cfb6c999580f73e5e228c440
2014-03-12Resolves: fdo#74985 forward/back buttons too largeCaolán McNamara1-84/+107
Change-Id: Ibed2216d2ca0a6dce48c0a6ef276f4a4f4d53219 (cherry picked from commit 7d68f0fa201ce1b29f62ecbaea25890148591da7) Reviewed-on: https://gerrit.libreoffice.org/8543 Tested-by: Kohei Yoshida <libreoffice@kohei.us> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-12n#862516: Remember slides sorter view setting.Muthu Subramanian1-0/+2
Keep the number of slides per row when moving across tabs. Change-Id: I316dac87c9dc8c88149b510f93be88940d91d98c Reviewed-on: https://gerrit.libreoffice.org/8545 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-03-12rhbz#1075124: writerfilter: fix tables with negative left marginMichael Stahl4-14/+30
SvxBoxItem::nLeftDist is unsigned; the bugdoc sets a very large value due to wrap-around which causes the table content not to be displayed. DomainMapperTableHandler::endTableGetTableStyle() tweaks the rInfo.nLeftBorderDistance by adding half the border line width to it, which makes it positive; at that point the value has already been used to init table::TableBorderDistances, so move that downward so it gets the positive value too. Change-Id: Ied2331b93f2e95845d7e8b2cc06e89e1ab24296e (cherry picked from commit 76aa23c59b4c81ea7b9d974a1a0a9e39c6bf8741) Reviewed-on: https://gerrit.libreoffice.org/8537 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-12fdo#76030: Use the table boundaries view option to toggle border drawing.Kohei Yoshida1-12/+9
Unless I'm missing something, fixing the problem reported in fdo#75118 this way is more reliable, and certainly avoids the problem reported in fdo#76030. Change-Id: Ife524d9db12e9fa4528c2232e619bfacde367659 (cherry picked from commit 2b9e7a0cb2492f19745f61a4829ff3802b25291f) Reviewed-on: https://gerrit.libreoffice.org/8533 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-12Don't delete the kernel when pre-compiled.Kohei Yoshida1-3/+3
Because we'll be re-using that same kernel instance for subsequent runs. (cherry picked from commit 80842a50b1580b9a6da3a2c39a88a72b5b98d278) Conflicts: sc/source/core/opencl/formulagroupcl.cxx Change-Id: I08b6df65550cecfa48f937b163fb1c5b20ed8ac9 Reviewed-on: https://gerrit.libreoffice.org/8538 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-11fdo#74747: Correctly inspect formula result value for xlsx export.Kohei Yoshida1-29/+11
Change-Id: I757a8eb371b432970885e2fbd6aea9dd965ab5c0 (cherry picked from commit c1dc7576c18cc534e1934459f5fb210091a5b484) Reviewed-on: https://gerrit.libreoffice.org/8527 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-11fdo#74747: Make use of cached string formula results.Kohei Yoshida5-20/+54
Just like we do with cached numeric formula results. Change-Id: Ib8b311b540caeb47d8c2162a456f7490c5882ad5 (cherry picked from commit aa5ad7b8096cd15a55c467b1a23d03849aeb870d) Reviewed-on: https://gerrit.libreoffice.org/8526 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-11fdo#75815: Adjust external references here too.Kohei Yoshida1-0/+19
Adjusting external references are much simpler than adjusting internal ones since we don't need to worry about deleted references etc. Change-Id: I82111e383e1fc6976ef08c1438c3dd916a249af6 (cherry picked from commit dd7787ed75e33b65ebee2a6c0aa152efded6f1b8) Reviewed-on: https://gerrit.libreoffice.org/8529 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-11fix negative error bar range export, fdo#75510Markus Mohrhard1-1/+1
Change-Id: Icca2f9fc26b15b968a940e5c73f7ad3781f75e94 (cherry picked from commit 7470b3ef17570581fe590a4853de59cac1be6ea5) Reviewed-on: https://gerrit.libreoffice.org/8535 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-11writerfilter: initial strict DOCX supportMiklos Vajna12-7/+122
The generate-id() code is just necessary avoid duplicated elements in the for-each loop. http://mahahegde.com/xslt-distinct-values/ has a detailed description of the technique used here. (cherry picked from commit f9bf15e19ec823a58ee32bf94da81f3bb1a147bc) writerfilter: introduce ooxml::OOXMLUniversalMeasureValue In transitional DOCX, ST_UniversalMeasure is in practice a simple integer, which means twips. But in case of strict, ST_UniversalMeasure is in points in practice -- which is perfectly valid, but we didn't handle it so far. Add a separate Value class that is used only for handling ST_UniversalMeasure, then there we can handle the various additional suffixes. (cherry picked from commit d5d7c7d3b281e1a9060d60bc4ac7738ae616f167) DOCX import: handle points in ST_TwipsMeasure and ST_SignedTwipsMeasure This fixes page size and margins in case of strict DOCX. (cherry picked from commit 37cc7e7471ba3b11cefcb0218c27e2c745886a6d) DOCX strict import: fix headers Now that the document has a header, better to just test the bottom margin, as in case there is a header, the top margin has different semantics in Word and Writer. (cherry picked from commit 195b8491d0299038fb64d19463e3ce90905bf346) DOCX strict import: fix pictures as well (cherry picked from commit aaef39de32442203d631a65aecf23eeb27dfbb12) DOCX strict import: handle charts (cherry picked from commit 49c3aff8d8d3030b2acbffb6ff000b5d44445cc9) DOCX strict import: handle SmartArt (cherry picked from commit f5985685ddc519f760a7324fa60fd662f25404c1) DOCX strict import: handle lockedCanvas (cherry picked from commit d795fb224e52c66c4585ed1e079a2b7601a07eda) DOCX strict import: handle math (cherry picked from commit c98d649117dc776ac51807be3376924d1fce2035) Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Change-Id: I647efe9d4a0834d3756fe9fa6d706ba6ba4e00f1 Reviewed-on: https://gerrit.libreoffice.org/8532 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-11handle OOXML strict namespacesMarkus Mohrhard30-54/+348
Change-Id: I198862388426161e3f054a5f128639c59f3c9d24 support OOXML strict documents in Calc Conflicts: oox/source/core/relations.cxx Change-Id: I277d76aeec28e173d913ccc1506464afe4d09c6d import date cells from OOXML Change-Id: Id0b9ec034d559d489ca4ee2d1d6aca1bdf1beb9d no need to add another layer of macros Change-Id: I49992559a7d10127d55dbf0c7e257c86619fd8d6 fix one more relation type for OOXML strict Change-Id: Ia63309271ac225883540ca0453fc5da21844d3ad make more places aware of OOXML strict relations Change-Id: I292217537eb592cbad9af11f87402baa9f4cc442 fix strict namespace list generation The two perl scripts were apparently only generating the same order by luck. It did not work on all systems. Change-Id: Ib83ee5c6572d3bae2e2ac1846850bd65303e7d43 allow OOXML strict relationships in writer Conflicts: writerfilter/source/ooxml/OOXMLDocumentImpl.cxx writerfilter/source/ooxml/OOXMLStreamImpl.cxx Change-Id: I1c09280f68467748faedee19c4a66be3bc7d7aa3 make sure the two namespace lists are sorted the same way Change-Id: I90b3182e10dbbfc8993010dd885509537d2fe537 fix OOXML strict chart import Change-Id: I84a2fd575ced64d4774147063f13ebb8605c100f add the xml strict namespaces to misc/namespaces.txt Change-Id: Ie83b5c94f1f002851bff3b39b1d9b676a3e44aa1 Reviewed-on: https://gerrit.libreoffice.org/8515 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-11coverity#708535 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: Ife2acd5dd5193edd0ca34d85370885ee6865fadd (cherry picked from commit ecc6239f5b7decfc61b68e745175982fdeee931e) Reviewed-on: https://gerrit.libreoffice.org/8512 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2014-03-11fix odf validation errors around new chart regression curvesMarkus Mohrhard1-8/+19
Change-Id: If67207abb204b5aca8365737088437b12ac6eaf1 Reviewed-on: https://gerrit.libreoffice.org/8523 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-03-10fdo#75960: Process pivot tables after named ranges are all set.Kohei Yoshida7-34/+242
Especially for those pivot tables that reference named ranges as their data sources, it's critical that we process them after named ranges are set. Else things would start to fail. Change-Id: I4bf8aa1a844aae3953f2dfbeba0e4d2542a7e53f (cherry picked from commit 057d269c5d1faf45c4c935b2f8120c45e646de65) (cherry picked from commit 98bd1911420f46380aa5373a92de6a748ced080d) Reviewed-on: https://gerrit.libreoffice.org/8507 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-10fdo#71784: Invalid Sections getting added to the document after RTTushar Bende3-1/+13
Description: There was a problem for some documents, during export Invalid sectPr were getting added. The root cause was faulty calculation of PageDesc value. This was the reason for increasing number of pages in RT doc. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed-on: https://gerrit.libreoffice.org/6813 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> This fixes crash on export to DOCX too for the bugdoc on rhbz#1074205 (cherry picked from commit 9a37ce189881f12d678fdb054219b13c3e4c7e40) Signed-off-by: Miklos Vajna <vmiklos@collabora.co.uk> Change-Id: I0700c735545614730d26be187d9047fd20ebf134
2014-03-10fdo#75950: Just set the right grammar and be done with it.Kohei Yoshida8-37/+13
Using the Excel A1 syntax with custom opcode was probably a hack back in the day. These days we can just set the right grammar and expect the compiler to do the right thing. Change-Id: Iae98f9f09a7da0b7b9549e06308d5d313bbff1ea (cherry picked from commit ca8ca8c28742879220f3ff88ae0d71c8d69b11cd) Reviewed-on: https://gerrit.libreoffice.org/8521 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-10fdo#73115: Always run timeouts as eventsJan-Marek Glogowski1-3/+7
Right-click popup menus run click events throught the LO main loop. In case of KDE4 the LO main loop is run by a timer in the main thread, with Qt::DirectConnection execution. If the timeout actually starts a nested event loop for a new dialog, the timer is blocked, the nested mainloop detects it was started from the timeout and drops the blocked timout from polling, which blocks any further LibreOffice event loop processing. This changes the timers to Qt::QueuedConnection, so they always generate an event and are processed by the Qt event loop. Change-Id: Ie626b22be3d8f9b8934bcc5e9e0e67a365549cfc (cherry picked from commit aeda478a02523cec146f6af69710f0391061db56) Reviewed-on: https://gerrit.libreoffice.org/8514 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-10cp#1000039 DOC import: ignore symbol charset of the symbol fontMiklos Vajna3-0/+11
Otherwise characters unhandled by our OpenSymbol font (like Arabic 0-9 numbers) won't be rendered using an other font, as no other font provides the symbol charset. Do this in SwWW8ImplReader::GetFontParams(), where we already have font name -> font family mappings for a few well-known fonts. The DOCX filter does the same for quite some time, and that's how Arabic numbers in text using the Symbol font were rendered, instead of little rectangles. Change-Id: Ib794cac19ad7b073e39f3cbd7d4bad3994151c14 (cherry picked from commit 8556cd881270823865662e9a7700da58d11c2785) Reviewed-on: https://gerrit.libreoffice.org/8474 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-03-10fdo#75628: SUM should inherit error if one is present in its references.Kohei Yoshida1-4/+38
Change-Id: I94017fe91295dbb929f57be5e3fb26edf5032a8f (cherry picked from commit d658c092f488fc0d4cb924fe3e34cab997db76e2) Reviewed-on: https://gerrit.libreoffice.org/8504 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-10fdo#75962: Avoid unwanted number detection when placing page field name.Kohei Yoshida1-1/+3
Change-Id: I1a3c57ec029e03198b8f190acfa8d59e142acaba (cherry picked from commit 0919979bd1da3379e030b353a097d8fe1fd8341a) Reviewed-on: https://gerrit.libreoffice.org/8508 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-10fdo#75968 Fix OUString conversionMaxim Monastirsky1-1/+1
Change-Id: Ie865b16c163d47de34ab2fe23bb7432b7710877f Reviewed-on: https://gerrit.libreoffice.org/8510 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit fc4ce3f5d0c630623eca5b55f8083d54e5beeeee) Reviewed-on: https://gerrit.libreoffice.org/8511
2014-03-10fdo#72481 drawingml import: don't set CharEscapementHeight unconditionallyBjörgvin Ragnarsson1-1/+1
Commit 840a8573c8cebe67ddd3c9fe106c7dbd789bb334 (Fix fdo#70220 Superscript not imported from pptx., 2013-10-07) made it possible to set CharEscapementHeight even if moBaseline is not set, but this causes problems in the docx importer + not necessary, according to the bugdoc; so just don't do that. Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Commit and message cherry picked from: commit 798a563db133ebed3876c245459d90ef54ee7c9a Author: Miklos Vajna <vmiklos@collabora.co.uk> Change-Id: Ib95ac449bd8fdf6376261ddc86108f0d23f2200e Reviewed-on: https://gerrit.libreoffice.org/8415 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-10fdo#75243: MSO export: save custom properties with empty valueTarun Kumar1-1/+1
LO removes empty properties while saving the doc. This is required in some business scenarios. bSkipEmpty is set to false by default to enable LibreOffice to save even empty properties. Change-Id: I7aafe0c0be02a98fa6e72d73e9e4348a015da61f (cherry picked from commit 3ba58a22bdd51cd4221547e0a0e95b6d2b987358) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-03-09Revert "fdo#75962: Avoid unwanted number detection when placing page field ↵Kohei Yoshida1-3/+1
name." This reverts commit f86d94a2d1b3a61d290c072431c0af8446ec15bf.
2014-03-09fdo#75962: Avoid unwanted number detection when placing page field name.Kohei Yoshida1-1/+3
Change-Id: I1a3c57ec029e03198b8f190acfa8d59e142acaba (cherry picked from commit 0919979bd1da3379e030b353a097d8fe1fd8341a)
2014-03-09fdo#75492: table names can start the same way and still be differentBjoern Michaelsen1-1/+1
Change-Id: Icc5a6fb7cf3ed3c2171e628d22918af7038f8127 Reviewed-on: https://gerrit.libreoffice.org/8495 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-09rhbz#1043551: sw: avoid division-by-0 in Text Grid painting codeMichael Stahl1-0/+12
Possible to trigger with a document containing: style:layout-grid-base-height="0cm" (cherry picked from commit 71b55cf57460aec3fec948676251448934ba31d1) got to love the sal_Int32 as long/int (cherry picked from commit 18c89ae6ff01f3d555a7cb030eb4572d504e8de7) Change-Id: Id3bd1f29157b39e8a577be0b87b86236dbe5a50c Reviewed-on: https://gerrit.libreoffice.org/8497 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-07Initialize OpenCL device on the main thread when pre-compiling kernels.Kohei Yoshida2-1/+6
Else it would cause extremely hard-to-debug random crashes when interpreting formulas with OpenCL. And let's re-enable kernel pre-compilation with this fix. Change-Id: Ib104bfdc3f56a02c052c837eb4bf3ecc95d562e0 (cherry picked from commit 6e24c789572aba5b6ee95e894f6d778777b1df58) Reviewed-on: https://gerrit.libreoffice.org/8498 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-07Various fixes (memory leak & crash) in the OpenCL interpreter code.Kohei Yoshida8-64/+72
Pre-compiling of OpenCL kernel is disabled with this change. (cherry picked from commit b981c089a9194f33b46272e3f4efa117241ea533) (cherry picked from commit e253d46af3b47afd0006084bec89b02473ee457a) (cherry picked from commit 0d7f89b021f1354a0fa607862296b11c9fd8a4dd) (cherry picked from commit 5325137783825c498ed4236080ed7fe51cdec09a) (cherry picked from commit 20ed6886ade81ee015a22b2eb3aeff64691971bf) (cherry picked from commit 7a0ed3a406bd14bb2b52c383282daf4777ba76e0) Conflicts: sc/source/core/data/formulacell.cxx Change-Id: Iae97f4f877c329f443c7d222c6a2016678af2387 Reviewed-on: https://gerrit.libreoffice.org/8496 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-07fdo#75718: Correctly count the length of trailing empty range.Kohei Yoshida1-5/+5
This affects auto fill, apparently. Change-Id: I653918d374122bc9bb938231934c149da79a3306 (cherry picked from commit 01de94471c20a8b9c36d6080638d70e57eac55bf) Reviewed-on: https://gerrit.libreoffice.org/8501 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-07fdo#67104 Use correct command for show gridMaxim Monastirsky10-93/+6
Not sure why .uno:ViewGridLines & SID_SCGRIDSHOW were introduced (in "merge sidebar feature" and related commits). Reviewed-on: https://gerrit.libreoffice.org/8459 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit c3403ac888c2e62edaf8befe7982f5f8cc95c16f) Conflicts: sc/sdi/scalc.sdi sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx Change-Id: I90bdfaef86adcbfa44129b8f7f9df61ca7f35114 Reviewed-on: https://gerrit.libreoffice.org/8463 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-07fdo#75538 R^2 calculation of trendline similar to LINEST functionLaurent Balland-Poirier1-5/+3
Modify for forced intercept of trendline, calculation of R^2 in the same way as LINEST function does calculation Update fo 4.2 Change-Id: I06ba4e7f5e07f7db150e1bf1070870bf64ad6f61 Reviewed-on: https://gerrit.libreoffice.org/8462 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-03-07rhbz#1072607: (hopefully) fix crash in SvxRuler::MouseMove()Michael Stahl1-0/+3
Not sure why mpParaItem is 0 here, add a check like in every other SvxRuler method. (regression from 47a77d7dbc427e51421e2df8d59695834cb74980) Change-Id: Ic11a4d0c9b6ca217cd59d1d3f6789592996d2c1d (cherry picked from commit 958616a323b7fe6b42cd642394cd90a9cd82e7f9) Reviewed-on: https://gerrit.libreoffice.org/8492 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-03-07fdo#74854: better loose selection than crashingBjoern Michaelsen1-0/+7
- this is just a bandaid Change-Id: Iebd901a9e88967e00e235f7f8849c48246e950d1 Reviewed-on: https://gerrit.libreoffice.org/8491 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-07fdo#60833 user's wordbook should be selected by defaultAndras Timar1-0/+1
Change-Id: Ic710f719df3ba71a8b71e6ef8afd54d60e73c5d9 Reviewed-on: https://gerrit.libreoffice.org/8493 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-07rhbz#988516: DOCX import: fix context stack when importing header/footerMichael Stahl3-1/+15
When a header/footer substream is parsed, a ParagraphGroup is started, but not ended; so the properties of the last paragraph in the header/footer are applied to a paragraph in the body. The obvious fix to add a call to endParagraphGroup() at the end of w:p element breaks table cells. So add a call to endParagraphGroup() at the end of the "hdr"/"ftr" element. (The problem in the bugdoc became much more visible with commit ca555c596043c88894b964ac5e21f5a7271d5f3b, but was there before) Change-Id: Ib054f1882793049b39424c1076ba5d4b319cd027 (cherry picked from commit 2b78f2cd7b9e4bab0f3b3b9119238f36a1bbc7b2) Reviewed-on: https://gerrit.libreoffice.org/8477 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>