summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-28GPU-Calc: remove the flag of USE_HOST_PTR and ALLOC_HOST_PTRlibreoffice-4-2-milestone-6Wei Wei1-20/+27
Change-Id: I000688c93b0feeb6da213b0f1f307a5062a41504
2014-02-28GPU-Calc: Change the szHostBuffer to fix the out of boundary bugWei Wei1-1/+4
Change-Id: I4037fb3c0ddda1a9c4b0e777e1a75bc0b11fd24b
2014-02-28Store the length of originally requested array size prior to trimming.Kohei Yoshida3-18/+36
This change adds GetRequestedArrayLength() method to both single and double vector ref tokens, which returns the length of the requested array size prior to trimming of the trailing empty cell region. Change-Id: Iaba96fa2ea4ff3c8bccb0bc86fa4f1525e2f45fb
2014-02-28Ensure that numeric array storage is aligned to 256-byte boundary.Kohei Yoshida2-1/+93
OpenCL devices require this else we would get a performance hit. Change-Id: I6b1db6320fa84f933b6446022a0fd02ba267bf21
2013-12-13Fix performance regression from ScMatrix conversion to multi_type_matrix.libreoffice-4-2-milestone-5Kohei Yoshida1-33/+33
2013-12-12Expert config: 6px between lines + center the button.Jan Holesovsky1-1/+4
Change-Id: I91899493479eb60c955dac3891a38913ad871376
2013-12-12Expert config: Introduce configuration key to disable expert config.Jan Holesovsky2-0/+10
It is /org.openoffice.Office.Common/Security/EnableExpertConfiguration with values true/false; defaults to true. Change-Id: I5a18d16182c28a13169677b11f68884f34c11c63
2013-12-12Fix "fit to column" breakage.Kohei Yoshida1-1/+1
I broke it during the grand cell storage refactoring. Change-Id: I75361750a859b42d83f76dd4e30ad6b134af81c5 (cherry picked from commit 3c95f901d5f30919b339695ddac94bf5a67aa9a9)
2013-12-12resolved fdo#67205 CRITBINOM and BINOM.INV, use ODF OpenFormula descriptionEike Rathke1-2/+2
Change-Id: Ibbf2f47b3d6fb67cd49d78d437e28a6399f42691 (cherry picked from commit 0c447b5d32b5d65960e61969d1a0ead4f4dbe7c0)
2013-12-12Updated coreEike Rathke1-0/+0
Project: help ced1a84353e7bc399b078b55b2f911dabcce9ba2
2013-12-12probabilty -> probabilityEike Rathke1-1/+1
Change-Id: I77fd6a82895f3a65c31f1c166e25b27153ab194a (cherry picked from commit c0c37983b61af172539d8af88f101929f4de56b0)
2013-12-12startcenter: Smaller frame around the entire start center area (6 -> 1px).Jan Holesovsky1-16/+16
Based on Mirek's suggestion; looks better. Change-Id: I3468450ee4c8ba27cd26a40c7ed11f0b4df9c42d
2013-12-12Start center: Re-introduce the Macros menu, people use it.Jan Holesovsky1-0/+9
Change-Id: I99da1fbbd158622933445f7e97f4266a24a2d85d
2013-12-12Start center: Use the welcome text that was agreed by UX / design team.Jan Holesovsky1-1/+1
Change-Id: I1af05f68ef7c2a10209f138e59a9245d3d1ac081
2013-12-12pages with equal Priority and Class getting droppedCaolán McNamara1-3/+8
Change-Id: Ib053dc4b6e5fb5f01f48c71a4b295a53c0ec6715 (cherry picked from commit 9790588da4b2de455ffc7a2cc69f26539823c3da)
2013-12-12fix occasional crash on dragging and dropping pages in slidesortersCaolán McNamara2-7/+38
pages go into the cache, and sometimes they get deleted before the cache gets processed. Remove deleted pages when they go away Change-Id: I291072a8541f4ca36979e9914975d81cc23a9497 (cherry picked from commit abe9d1463282690313aaf91d2a54011d10b900b9)
2013-12-12startcenter: Update the button descriptions to the UX team decision.Jan Holesovsky1-6/+6
Change-Id: Ie0813e8faa1cc97aa77fc89659b829226d0e5736
2013-12-12fdo#67011: Run Display::Yield through KDEXLib::Yield.Jan-Marek Glogowski1-6/+16
Drag'n'Drop is handled in a second thread, which tries to "yield the display" while the main Qt thread probably is already yielding. Both need the YieldMutex, which freezes the application until the D'n'D thread times out. Trying to yield the display throught the application yield results in a recursive loop. So this catches and breaks the recursion, but just inside the Qt thread, so other processes can "yield on the display", instead of simply disabling the Display::Yield. Change-Id: Ifba91aa89fe5b0a89cc94820935dc996a065112f Reviewed-on: https://gerrit.libreoffice.org/6750 Tested-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2013-12-12About config: Make the value box dialog a bit nicer.Jan Holesovsky2-5/+7
Change-Id: I5e25401b76458e712070bc76c86083bbd9ae2daa
2013-12-12fdo#72125: GetTextWidth() can get very expensive.Jan Holesovsky1-1/+19
Let's just count an approximate width using a cached value when we have too many entries. Change-Id: I2113887c477bc774dd00df538ec1a01f102f4726
2013-12-12getStatusIndicator can apparently return nullStephan Bergmann1-4/+8
...at least in CppunitTests Change-Id: I75f05581db5423dc54ea7810a8cd2bd0f9c0c3f0 (cherry picked from commit defc4faef618d4273ee5056359f4b8e5eed24a7c)
2013-12-11Fix paste as link, and a test case to catch it in the future.Kohei Yoshida3-2/+42
Change-Id: I55fd3fabb7594ee2c635cc0b02dbf506bd5ab3df (cherry picked from commit 4f94e6c20b2fee11429d7cbaef6b6fd1880317b2)
2013-12-11Open .tab files with CalcMaxim Monastirsky2-1/+3
.tab extension is a known extension for tab-separated values according to Wikipedia. Also add .tsv .tab files to the list of known text files, so XML detection code won't run on it, and won't output errors to console. Change-Id: Ifb8edc40900cb4669264e1e989c01efd61ff24bf Reviewed-on: https://gerrit.libreoffice.org/7039 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-12-11Let's use a status indicator while exporting to xlsx.Kohei Yoshida4-4/+21
And reduce header dependency on docsh.hxx which a lot of files include directly or indirectly... Change-Id: I2de25380f8b634456e0add940fbb775ac11414cd (cherry picked from commit da1392934e043bfd12b94dab7b874ddf940f097b)
2013-12-11CID#736170, CID#736171, CID#736172 Out-of-Bounds read/writeJulien Nabet1-8/+7
Let's be sure that nMaxcolorIndex < 256 Change-Id: I349184ad92c8e7b10a90a32e093972bfaee52467 Reviewed-on: https://gerrit.libreoffice.org/6970 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/6971 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-11fdo#71748 Fix also for hicontrast and sifr themesMaxim Monastirsky3-1/+1
A follow-up of commit e239f372c6abcd8371d0a666c828bf1c31195dd4. Didn't notice there is fill_color.png also in these themes. Also fixed the ugly yellow color flash of paragraph color picker while initializing the sidebar (introduced by the above commit). This color picker shows the actual color of a paragraph, so there is no reason to set some default color there. Change-Id: I17eed733d1e35ec71c482e3df906523733383e96 Reviewed-on: https://gerrit.libreoffice.org/7036 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-11Fix typoMaxim Monastirsky1-2/+2
Change-Id: Ie2e3cfa3c35f5ccb59420afb13f5142ecdcb659e Reviewed-on: https://gerrit.libreoffice.org/7034 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-11disposed but not dtoredCaolán McNamara1-0/+6
just die when you are supposed to, without this endless amounts of accessiblity cells remain after sorting slides with tables in them (cherry picked from commit 1c28065d8fe3e9a1394a7ecfc29e95a9639a1012) Conflicts: svx/source/table/accessibletableshape.cxx Change-Id: Ice9a86b8b806e58f9bf871341a38f7729798dda9
2013-12-11correctly dispose to avoid cyclic dependenciesCaolán McNamara1-1/+19
accessibility cruft is still listening to dead tables so crashes in slidesorting in main panel if moved slide has tables in it after visiting slide sorter once. Change-Id: I09f9a73b01fb2ddf059402146acdc7bd823798b9 (cherry picked from commit 0b8e2e5efe20519e8b5563314bac0cbb84a3b967)
2013-12-11Add back check for missing libgetuid.so.Matúš Kukan2-3/+6
If the library does not work, things like fdo#67388 happen. Change-Id: I3390fdb6f2cdf24145ddde4466146f91e5dfde82 (cherry picked from commit 2b1fcd466eea63cd8e694693255b765c863fda8c)
2013-12-11fdo#67388: installer: Fix path to libgetuid.so again. Hardcode it.Matúš Kukan2-18/+3
(cherry picked from commit 203e84d434de904add0b4426e87a4eb0a9a50c66) Change-Id: I5bcbb59a0f49e925d60f225b0f8f925d6d5dc468
2013-12-11sw/qa/tiledrendering/tiledrendering.ui is not for translationAndras Timar1-8/+8
Change-Id: I74122f5a1fb48f9615f7364d3ee5015f0d7e72a6
2013-12-11WaE: : ignoring return value -Werror=unused-resultTomaž Vajngerl1-1/+2
Change-Id: Ia75ccbe4ffd1e44585a590c7931b920168a6c703
2013-12-11one missing icon from draw tool-barNorah A. Abanumay1-0/+0
Change-Id: Icfbb671bbe322d08ad8f3f911e99c3ec6761b1f6
2013-12-11new icons for Sifr icon themeNorah A. Abanumay163-0/+0
Change-Id: Ib3397d6b761e12111f48c2143aa54e5caffaef68
2013-12-10fdo#66969: Reset group dimension data from all referencing pivot objects.Kohei Yoshida2-25/+42
The previous code was doing it only with the first referencing pivot table, which would break the rest of them sharing the same cache if the first one doesn't contain all group dimensions used in all of the referencing pivot tables. Change-Id: I35d6907ef8db7ed69db42583cac92b2b74406e2c (cherry picked from commit b3977983e9f662392426f581516d86d7034ad0fd)
2013-12-10Dump group types from pivot cache for debugging.Kohei Yoshida1-15/+53
Also add some flags to change the dumping behavior a little. Change-Id: I291cdd7d055614b9e7074bdc47292ecd41a474ac (cherry picked from commit bcea38729938300ce574d9f8570dd49869f01890)
2013-12-10fdo#66969: Set selected page name after building all dimension members.Kohei Yoshida2-1/+39
Because the new implementation relies on the visiblity flag of the dimension members, they need to exist before setting currently selected page, which is still used in documents generated by the older version of LibreOffice. Change-Id: I6cec5fd3d2165f714fc01b596d3761890d87a4ff (cherry picked from commit 2e1b90a4272defb917b23e2e360e171114d6fa4d)
2013-12-10Allow dumping of internal states of pivot table objects for debugging.Kohei Yoshida4-0/+128
Change-Id: I5021ef61d9238da352e13bdd81a2f3607d0fb4aa (cherry picked from commit 8f6e3118f57276a458b82482b0d277dee327413e)
2013-12-10offapi: fdo#69306 tweak multi-paragraph parameter commentMichael Stahl1-2/+0
Change-Id: I3d3d7ca09d30f5d9358e48f5a2e030967aa16bc3 (cherry picked from commit cfb58670f13befd738eff485349894ae504200f0)
2013-12-10Related: #i33737# correction: assure the selections does not...Oliver-Rainer Wittmann1-3/+2
start/end inside a table while end/start of the selection is outside the table (cherry picked from commit 382814ccb30bfe71f093e55e23802447caca235d) Conflicts: sw/source/core/crsr/swcrsr.cxx Change-Id: Ibcbd9b18538ce04abfae11e75b30d6897a62e268 (cherry picked from commit 3fc6fc2ff7304a0d1bc85bd2e03fb3fbab492c9a)
2013-12-10fdo#40315 Improve text for moving average trendlineLaurent Balland-Poirier4-3/+23
Change text in status bar for moving average trendline: no equation, no R² Change-Id: I0e18a72ff1f1d78e3bb28cab4d5f215c096898dc Reviewed-on: https://gerrit.libreoffice.org/7015 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-10sax, xmloff: fix ODF import/export of text:time/text:time-valueMichael Stahl6-60/+329
The value written for an Impress time field is something like text:time-value="0000-00-00T23:28:07" (in LO 3.5+) or text:time-value="0-00-00T23:28:07" (in OOo 3.3) which contains an invalid all-zero date. Such values are actually rejected by the ODF import since commit ae3e2f170045a1525f67e9f3e9b7e03d94f2b56b. Actually there was no real support to read the RelaxNG type timeOrDateTime before. So fix that by: - adding convertTimeOrDateTime/parseTimeOrDateTime functions to sax::Converter - recognizing and ignoring the 2 invalid all-zero values written by LO 3.5 and historic OOo respectively - writing a bare "time" in text:time-value if the DateTime struct contains zero Date members (Older OOo versions and AOO cannot actually read that, but everything they _can_ read is invalid ODF...) Change-Id: I754076caee74a5163ed3f972af0f23796aa14f9f (cherry picked from commit cc407e50e8a1a74f9d1ed29d444dce9bd2e9167a)
2013-12-10fdo#70278: editeng: fix Time fields in ImpressMichael Stahl1-1/+1
Apparenty an uninitialized SvxTimeField is created instead of the SvxExtTimeField that is needed to preserve the value and format. (regression from ee5fc5d25fe102c30daf7d181b8181d40b85a4f3) Change-Id: I36b16af0c143e8b5451a1925806756492dc2334e (cherry picked from commit 1235e694c21f6e3e000e24a176123c386ea91df1)
2013-12-10editeng: fix more 32-bit Time breakageMichael Stahl4-13/+13
SfxDateTimeItem and SvxExtTimeField need to use 64-bit integer to store Time as well. These classes also have binary serialization Load()/Save() methods but they are unlikely to be used in a persistent way, just for the clipboard. The problem is easy to reproduce in Impress: Insert->Field->Time(fixed) (regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a) Change-Id: I5946c5b94dd5a509805b6dc40461bbd910caffc4 (cherry picked from commit 7b9c61c7f20a679c5316a288c2ec2ffbf04b4200)
2013-12-10fdo#70198: sw: don't truncate Time values on 32bit platformsMichael Stahl2-3/+5
SwDoc::SetFixFields() uses sal_uLong to store Time.GetTime() which needs 64 bits. Also fix same problem on Time fields in HTML import. (regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a) Change-Id: I5d0388cbc364e1f9dfb60ff9e83c7d2f101c69d8 (cherry picked from commit 17dab5bf8efb3fd676e6854474b199b681d0dc28)
2013-12-10sd: PPT export: fix assert on 0-length text portionsMichael Stahl1-1/+3
Not sure if such are legit, but this should fix the crash. Change-Id: Idf8a3a67ddae464533d431f1a6a2ebea6d6c2213 (cherry picked from commit 34140139840a181157690038fe845f5b33866b10)
2013-12-10svtools: don't dereference invalid iteratorMichael Stahl1-0/+2
Can be reproduced by opening Data Sources in Writer and closing document. Change-Id: I703ceffee3a1896acd06076d8b77085e8785acd3 (cherry picked from commit 6692eeca9a3ba7a9ba461564172275fbb78992e9)
2013-12-10Get rid of $(share_subdir_name) againStephan Bergmann13-69/+174
Quoting 56211a166ab25d80de84c2cccce22be15a9be051 "fdo#72394 Don't endlessly expand $(share_subdir_name) into itself": * The compile-time variable LIBO_SHARE_FOLDER should not end up as a runtime framework path variable, esp. since accidentally re-substituting it for "share" segments in unrelated URLs like <file:///export/share/for-all> does not make sense. ac4e19f9085dbd0103c7336a5318aa1e55b3e3e0 "fdo#68552: Don't (attempt to) do run-time expansion of build-time parameters" had already attempted a fix for that, but it had to be reverted again with 791a8b96f754798192875da287c84f8cfa4e533e because it "Unfortunately does not work if BUILDDIR is different from SRCDIR." So this time fix it not via configure-expanded *.in files, but via xsltproc (for officecfg/registry/ files) and sed (for wizards/soruce/configshare files). The changes to officecfg/util/alllang.xsl will replace @LIBO_SHARE_FOLDER@ only in oor:name attribues (and in <value> text), not in any other attributes, because I have no idea how to write that generically in XSLT and it happens to be only needed in oor:name for now. Change-Id: Iec78eb70dcbf1a5bbabf4e42f21c44dc65c3e438 (cherry picked from commit 87dd1780a31de9ea1df70a8511c262ff252bf99a)
2013-12-10WaE: unused variable 'aService' [loplugin]Tor Lillqvist1-1/+0
Change-Id: Ifc907dad0849f17aec728b9f0e85d44048755a14 (cherry picked from commit 6e0e5503a998b6b0996d1f8013cdd963576b840e)