summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-07-12desktop: validate OpenCL drivers before use.private/kendy/testclMichael Meeks12-12/+213
OpenCL validation needs to happen before drivers are used in anger. This should isolate any crashes, and/or mis-behavior to We use app version, CL driver version and file time-stamp to trigger re-testing the device. If anything fails: hard disable OpenCL. We use an opencl validation sheet (cl-test.ods) and install it. It is a minimal CL set - it requires a very short formula group length, and combines several CL functions into few formulae to test more. The sheet structure, in particular the manual squaring / SQRT - is necessary to stick within the default CL subset, and ensure that formulae are CL enabled from the root of the dependency tree up. Change-Id: I18682dbdf9a8ba9c16d52bad4447e9acce97f0a3
2016-07-11Fix --enable-mergelibs build.Jan Holesovsky1-0/+1
Change-Id: I839b9f8769508b8b4cc4e766db51188353767b0c
2016-07-11Remove these from the customization dialogSamuel Mehrbrodt1-6/+6
Looks like copy&paste, no need for these to be here (have no label also) Change-Id: Iad51bf19d01635f787e2a3f76a32fecaeb9bb656 Reviewed-on: https://gerrit.libreoffice.org/27113 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-11Add test for empty Calc doc defaultsslideon2-0/+75
Checking boolean values of many properties for an empty Calc doc. Change-Id: I54ab4975e65600db4362d94f421f40f794643938 Reviewed-on: https://gerrit.libreoffice.org/27080 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-11GSoC notebookbar: added image tab in the WriterSzymon Kłos2-16/+532
Change-Id: Id72bf97fe31625c63bb16b7796c22661cb6fe008 Reviewed-on: https://gerrit.libreoffice.org/27109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-11GSoC notebookbar: impress table tabSzymon Kłos8-2/+258
Change-Id: I50338e2f5405171785ea610a9febc3d4f5df96e5 Reviewed-on: https://gerrit.libreoffice.org/27052 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-11loplugin:nullptr: Better heuristic to determine code shared between C and C++Stephan Bergmann21-71/+100
Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
2016-07-11Resolves: tdf#95729 move 'alt' accel enable/disable down to systemwindowCaolán McNamara6-56/+64
from dialog and send the 'alt' to the active floating window, if there is one, before trying the menubar. so popups like the calc autofilter one can display their accelerators when alt is pressed Change-Id: I52e45b72885b1b0a7362cecc30e41d218a48a58d
2016-07-11Resolves: tdf#100847 also external svEmptyCell is 0 in numeric contextEike Rathke1-1/+1
Regression of 243f19a1878d52a4074b59041dc3bc57ab84e417 that now differentiates between numeric and string content of external references' cells. Change-Id: I7a9635357cc7651353067a38f9ac8bc295f88546
2016-07-11loplugin:staticcallStephan Bergmann1-4/+4
Change-Id: I800eef0517f063ff7e08a95de9da268fb0e9d621
2016-07-11rhbz#1351292 correctly set edit modeDavid Tardon1-17/+40
... when switching between different shells, e.g., from Outline to Slide master. Change-Id: I22ef6f6cac73c52fb1bedd97e653b4b57c5a7a24
2016-07-11Prevent MSC from instantiating implicitly defined DLLPUBLIC member functionsStephan Bergmann2-0/+7
...which would require some classes to be complete which are usually incomplete here and only happen to be complete with (implicit, on Windows) --enable-pch. Change-Id: I653d6376e9ee1a8509c0f1a0096af4559ef0702e
2016-07-11starmath: Prefer assert to SAL_WARN hereTakeshi Abe1-1/+1
as defined enum cases are exhausted. Change-Id: I6564cc0cd64d593f6aa02f0651ecb490bf7845bd Reviewed-on: https://gerrit.libreoffice.org/27081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-11tdf#99512 - opencl - restrict scope of vlookup optimization to doubles.Michael Meeks1-1/+30
Change-Id: Iab7316cb167f34c13adafe142af0fdd73eb7d04c Reviewed-on: https://gerrit.libreoffice.org/27100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-11Resolves: tdf#100463 tolerence in contour editor doesn't workCaolán McNamara1-18/+18
probably since commit f51f03a46102333bac6a7fe06bc8538492f413a5 Author: Stephan Bergmann <sbergman@redhat.com> Date: Wed Mar 5 12:24:14 2014 +0100 Do not needlessly truncate MinMax argument before comparison with bounds Change-Id: I5c92f0af3e05ad68ed88fa860b36e8426e160bf9
2016-07-11Make --enable-symbols orthogonal to --enable-debug/-dbgutilStephan Bergmann4-15/+17
Change-Id: I523bc1d848e40489370eefe00046e0a257ed2505 Reviewed-on: https://gerrit.libreoffice.org/27058 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-11Get rid of odd ENABLE_SYMBOLS=FALSEStephan Bergmann2-9/+3
* None of the other ENABLE_* support anything but TRUE or empty. * Other checks for -n "$ENABLE_SYMBOLS" in configure.ac are confused by it. * solenv/gbuild/gbuild.help.txt talks about "If not empty", not mentioning "FALSE". * A missing (redundant) explicit --disable-symbols left gb_SYMBOL uninitialized (instead of setting it to $(false))---but without consequences, as all the places checking gb_SYMBOL explicitly check for $(true). Change-Id: Id004189de27a7936862dab3a5fd84d549c06af2b Reviewed-on: https://gerrit.libreoffice.org/27057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-11Break gb_DEBUGINFO_FLAGS out of gb_DEBUG_CFLAGSStephan Bergmann13-16/+16
...in preparation of making them orthogonal Change-Id: If75b334c954138b3aed4f8d1ac33061a2267ad52 Reviewed-on: https://gerrit.libreoffice.org/27056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-11Centralize setting gb_DEBUGINFO_FLAGS for gb_SYMBOL in LinkTarget.mkStephan Bergmann7-37/+2
Change-Id: Ie8ca63d48f66833a778342af8fbe19006fb6f143 Reviewed-on: https://gerrit.libreoffice.org/27055 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-11sw: prefix members of SwColumnPageMiklos Vajna2-243/+243
Change-Id: I94bc95a25ac11de419f18490b7d466ee22631778 Reviewed-on: https://gerrit.libreoffice.org/27095 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-11removed deprecated FileDialogHelper::SetDisplayDirectoryNoel Grandin1-2/+4
and convert usage of it Change-Id: I2e3a71ec94492e5482bdf720d256e67adaf3f095 Reviewed-on: https://gerrit.libreoffice.org/26951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11tdf#75280 Cleaning up of sal_uIntPtr usage #3tymyjan2-23/+23
Change-Id: I465d126652f4dd21c19ee6730466719445d835b3 Reviewed-on: https://gerrit.libreoffice.org/27074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11tdf#99090 docx export page-break only inside a paragraphJustin Luth4-1/+26
If a paragraph hadn't been started yet, a w:r was being written directly in the /document/body which caused MSWord to complain about a corrupt document. Change-Id: Ie7f629869aab0f3d2405660a033c3f23bbd6baca Reviewed-on: https://gerrit.libreoffice.org/26771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-11tdf#100726: Improve readability of OUString concatenationsArnold Dumas2-29/+29
Change-Id: I31877a43e6fe3e9d6b36278673d40f3b14325972 Reviewed-on: https://gerrit.libreoffice.org/27092 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11BASIC : Remove useless 16bits Remove function from SbxArrayArnaud Versini3-10/+4
Change-Id: I050a034437d3370a28c9e5ab47abee369e634f7d Reviewed-on: https://gerrit.libreoffice.org/27089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11opencl: OpenCLZone, detect CL device change and disable CL on crashTomaž Vajngerl11-54/+213
Guard OpenCL calls with OpenCLZone, so if a OpenCL call crashes we detect this and disable OpenCL so next time the user doesn't encounter the crash at the same calculation because he has a broken OpenCL drivers. Similar has been implemented for OpenGL with good results. Additionaly we persistently remember a known good OpenCL device ID and driver version so we can match this and perform calculation tests when they change. This is to ensure that the selected OpenCL device performs as we expect. In this commit the calculation tests aren't included yet. Remove complex static initializer in opencl wrapper library. Change-Id: I1a8b81ee31298731efcf63dc6a476955afc035e9 Reviewed-on: https://gerrit.libreoffice.org/27064 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-11Modify ImpGraphic class, GraphicReader context to use unique ptrMark Page9-76/+65
Change-Id: I51c3995f4a6e940a5235524eb94dd356b27ae8d7 Reviewed-on: https://gerrit.libreoffice.org/26955 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11Fix typosAndrea Gelmini6-6/+6
Change-Id: I81671c9a8e7e5b878e605ac0ed6c3d8ef5c5b689 Reviewed-on: https://gerrit.libreoffice.org/27088 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-07-11tdf#56818, use SolarMutex instead of own MutexMarkus Mohrhard1-10/+12
There is a SolarMutexReleaser in the call chain so that using an own mutex can deadlock. Change-Id: I1dd0b0c78ce6cf436a470319e616099cb947b6e0 Reviewed-on: https://gerrit.libreoffice.org/27085 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-11rename variable to reflect that it is not a referenceMarkus Mohrhard2-14/+14
Change-Id: Ifcc15e2a500bdc77dd21e96eea3873c3e78e7e55 Reviewed-on: https://gerrit.libreoffice.org/27086 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-10loplugin:unreffunStephan Bergmann1-1/+0
Change-Id: I8649e6bbe3b5c1189ef3c07bcbc1c2155d265b59
2016-07-10Remove redundant SvxGet* wrappers around LinguMgr functionsStephan Bergmann16-114/+50
Change-Id: Ic431ce4880d0c1277ddb411ca59b3c8e8ca36518
2016-07-10Related: tdf#100632 naming consistencyCaolán McNamara1-2/+2
Position X/Position Y in dialog vs. Horizontal/Vertical in Sidebar Change-Id: Ib5e1eb6dd891bd8817acf2de8f83790043b6d6cb
2016-07-10so the global Application GetAutoMnemonic is always true, simplifyCaolán McNamara2-2/+2
Change-Id: I6c23273bd02841f72b489535f8a546e561df94e8
2016-07-10ditch the application per-language IsAutoMnemonicEnabled settingCaolán McNamara13-421/+2
Change-Id: I9734ada09edb6544a332893a7c5d31730b0d081d
2016-07-10ditch the multiply dialog width * X where X is based on language thingCaolán McNamara10-131/+2
Which should be unnecessary since the vcl layout work and optimal size widgets, and its a small and arbitary set of languages for which its set. Change-Id: Ifa397218510ade251f795cdd9360d6bdccb115b7
2016-07-10ditch the font/screen-scaling thingCaolán McNamara13-219/+42
its of limited utility wrt the vcl layout work and optimal size widgets, and its confuses people looking for hidpi settings Change-Id: I37d21b480446f9fe2845b3a2d9fd59cdeddf1a93
2016-07-10lok: disable unused UNO commandsHenry Castro1-4/+0
Change-Id: I9804c1c8528747e719971f51b59d0a01a9fba878 Reviewed-on: https://gerrit.libreoffice.org/27091 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-10making a disabled image from a 1 bit depth icon gives index assertsCaolán McNamara1-1/+8
cause the disabled color cannot be mapped to the 2 entries in the palette, so use 8bit dests if the src is 1bit regression from commit 507d0ded64db51a8826d07c507f612a6c02c3869 Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Dec 1 12:18:57 2015 +0000 keep disable image at same depth as original seen when clicking on the image loaded from tdf#100632 Change-Id: Ic69bccfa0fc86707b4fd9e757d8374d80e4b0071
2016-07-10split the assert into twoMarkus Mohrhard1-3/+3
Change-Id: Iab515327c9ba6ad9b22d68971f097b6848e704ea Reviewed-on: https://gerrit.libreoffice.org/27084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-10uitest: running uitests under gdb makefile partMarkus Mohrhard1-6/+14
Change-Id: If1e1d9217cfcc1f51fa611457ac7758fd2d9960b
2016-07-10Menu's dispose needs non-zero ref count, tdf#100829Markus Mohrhard1-2/+2
Change-Id: Ie1db4aa8ab2487b9ef058478a2f86d43cf8eba41
2016-07-10uitest: support the gdb param also in the uitest runnerMarkus Mohrhard1-1/+1
Change-Id: I86833d9fdf42199480f1d448c56e63ff22d4923e
2016-07-10uitest: support starting the LibO with gdbMarkus Mohrhard1-0/+9
Change-Id: I23fe7563b3d0fe8084541d702583bc38997413ac
2016-07-10uitest: handle the new template dialog in impressMarkus Mohrhard1-0/+27
Change-Id: I98507b0e810db88ad94ea093db2d7dc7f495e7ab
2016-07-09Resolves: tdf#100732 hang closing Print Preview with X-icon on menubarCaolán McNamara1-0/+9
triggered by change... commit f9bb13419549d621ffd55d9d81e0732a89560e2e Author: Juergen Funk <juergen.funk_ml@cib.de> Date: Fri May 13 10:42:17 2016 +0200 tdf#99815 use XNotifyingDispatch in sfx2 which allowed the problem introduced by... commit d0c3c24da2506bff1719a276f2eff34589fa7663 Author: Kohei Yoshida <kohei.yoshida@gmail.com> Date: Wed Jun 6 01:28:55 2012 -0400 Check if the system window has a close handler, and if yes, call it. This allows the close event in the preview window to be handled in a custom fashion, instead of having it call the normal "close window" command. to show up Change-Id: I5c46fb7a49ae44fd748b5b7192aeb951c7d65191
2016-07-09tdf#100352 Make the watermarks and colored infobar work in SlovenianAdolfo Jayme Barrientos1-15/+15
The elements <baf:Scale> and <baf:Identifier> must match the values set in sfx2/source/view/classificationhelper.cxx to work. I moved the translated words to their proper place. Change-Id: Id860a375654e371742ba15435d3e73506ef5ef0e Reviewed-on: https://gerrit.libreoffice.org/26685 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-07-09GSOC: Adapt XLegacyFastParser to function like XParser.Mohammed Abdul Azeem7-175/+165
Made XFastParser to pass namespace prefix instead of URI for Unknown attributes and elements, Namespace handler is provided to resolve those. Test for XFastParser unknown elements is removed, since testing XLegacyFastParser indirectly tests that also. Change-Id: Ia41ff5d3d4c07cef0ca23ba858bfb2a94b91b1f5 Reviewed-on: https://gerrit.libreoffice.org/26982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-09Resolves: tdf#100809 Paragraph styles drop-down listCaolán McNamara1-1/+3
Change-Id: I9453c3c877dcd39268f7c910e8918947bdeb8fd4
2016-07-09Resolves: tdf#90526 don't show splashscreen for -pt -or -pCaolán McNamara1-1/+2
Change-Id: I64c6d82e3ff738fbc83b00d640765e8863ccd9b6