summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-16GL paint-flushing guard re-work.Michael Meeks17-88/+77
Unfortunately, since we can have 2x SalGraphics' on a OutputDevice, and one of these can be a printer - things got very confused around which context to glFlush. This de-tangles the various reference-counts. Change-Id: I1062be0b02a91fc9009deaa3ec29c5dbb227df20 Reviewed-on: https://gerrit.libreoffice.org/18604 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-16tdf#94213 - cleanup associated GL contexts properly when DCs released.Michael Meeks2-1/+2
Change-Id: I6b9fb899777d8e460999ac3ff038a1302e434bb5 Reviewed-on: https://gerrit.libreoffice.org/18605 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-16Use C++11 initializer listTor Lillqvist1-34/+36
Change-Id: Ibb46bfa9bf641a2c1a71bbd15d702520cb7a485b
2015-09-16tdf#93139 Orca Screen Reader does not read bulletNiklas Johansson1-1/+1
To make Orca read bullet lists lets not suppress it from the accessible text. This has a downside on Windows when using NVDA which due to a hack in NVDA now reads the bullet twice. This hack is done because of this bug so I think we should fix it. Change-Id: Ibc11c1e0545f8cde4cd3d4a0d665ea47d645a61d Reviewed-on: https://gerrit.libreoffice.org/18398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-09-16Related rhbz#1259746: Buffer file content read from GIO UCPStephan Bergmann3-35/+13
...for one, this avoids sending seek requests down the GIO/GVFS stack, which can silently fail with corrupt data read from certain broken servers for current versions of the GIO/GVFS stack; for another, it should considerably speed up loading documents via the GIO UCP, as LO's document type detection is notorious for issuing lots of seek and (small-chunk and/or re-) read operations on a file. (This issue has become more relevant after 51e0d789c344547956764c3b5f0ef5a304f4e0aa "rhbz#1134285: Access dav, davs URLs via GVFS," where the old route via the WebDAV UCP was apparently not affected by those broken servers, so happened to start affecting opening certain remote files in LO via Nautilus.) Change-Id: I91f91128b2d1a16f976eafeacf216a91747f4df1
2015-09-16unused .ui fileAndras Timar1-28/+0
Change-Id: I796be2353dc00c02746fb80fcc870dbddae397ff Reviewed-on: https://gerrit.libreoffice.org/18603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-16sw: prefix members of SwDBTreeList_ImplMiklos Vajna1-20/+20
Change-Id: Id828ffe75943c7f6e194b310486d51a068eead1c
2015-09-16Blind fix for --enable-tdeStephan Bergmann1-2/+0
Change-Id: I6e60bf537ffc91210862ba77ffefa933e90ed84f
2015-09-16convert Link<> to typedNoel Grandin21-84/+63
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-16convert Link<> to typedNoel Grandin3-8/+7
Change-Id: Id5be64f38fa448271a5364c86c32ffddfc309bbf
2015-09-16convert Link<> to typedNoel Grandin2-9/+9
Change-Id: If80d43267ce498f713a318f281e5fe86d787d601
2015-09-16convert Link<> to typedNoel Grandin2-8/+8
Change-Id: I8eb0df9a20a748286385fb6c9d4d03c2ad153989
2015-09-16convert Link<> to typedNoel Grandin5-16/+15
Change-Id: I8275f9a100e5ed93f44596fe428a39e902c12dfc
2015-09-16convert Link<> to typedNoel Grandin2-7/+5
Change-Id: I38996f9ab99efd10dcfabd532cabfbb7691ef357
2015-09-16convert Link<> to typedNoel Grandin2-5/+4
Change-Id: I1cd4adb0b9ae24298a3978fdbfa0091e76f65044
2015-09-16convert Link<> to typedNoel Grandin2-12/+10
Change-Id: Ied94f9defc1650822b8d09713e3d2f6fa2b8611d
2015-09-16convert Link<> to typedNoel Grandin10-25/+23
Change-Id: I2573b42143078c4e72ab201392c69ee296f4974e
2015-09-16convert Link<> to typedNoel Grandin4-11/+6
Change-Id: I1956a7b3cf1d6f3757e6586b793d4355e0697ca9
2015-09-16convert Link<> to typedNoel Grandin8-17/+14
Change-Id: Ic978fd8f03705c341ecb44685d840a6a240fee2d
2015-09-16convert Link<> to typedNoel Grandin3-5/+4
Change-Id: Ie9b937c100b44dd914b55d75530e6b6a5fbe2969
2015-09-16convert Link<> to typedNoel Grandin4-7/+10
Change-Id: I39b8eac11eb59594c7fbca8c5fd3b1383167f577
2015-09-16remove unused Link<> fieldsNoel Grandin2-27/+2
Change-Id: I9898e04da6bebd1e08ab141e43439908fe1860b0
2015-09-16remove unused Link fieldNoel Grandin2-5/+1
Change-Id: If79a5031d60bd88fa8a3ad4d0ab1664c18f46a67
2015-09-16convert Link<> to typedNoel Grandin3-5/+4
Change-Id: I55596ac8fd5cc0a052b821fca48523f9f5a5a294
2015-09-16clean up VclEventListeners and VclEventListeners2Noel Grandin9-76/+94
Move them inside the vcl module. there is no need to expose their implementation. Make the VclEventListeners2 implementation similar to the VclEventListeners implemenation - I can't see the benefit of this extra complication with invalidated iterators, given the very small number of listeners typically on such a list. Change-Id: I040ddd24b10d2109af13ee25b5181703af17a109
2015-09-16convert Link<> to typedNoel Grandin5-11/+10
Change-Id: I58b31530b4a29851abe9eccdf8f832b9d0348c2c
2015-09-16convert Link<> to typedNoel Grandin5-10/+10
Change-Id: If6334d32abbec379acbb9def98fdf6cb5144238b
2015-09-16convert Link<> to typedNoel Grandin5-10/+10
Change-Id: I628de57f87b4ba20a797d345bdf71cf10cf148fc
2015-09-16Remove unnecessary typedef from previous attempt againStephan Bergmann1-1/+0
Change-Id: Ic3e5c4aef4235124069035daadfb53ff3a1368a5
2015-09-16tdf#94252 - avoid switching contexts un-necessarily to reduce flicker.Michael Meeks1-0/+9
Change-Id: Id4ac387174fa03c5886a990d89fd53a4f18db11c
2015-09-16tdf#94006 - need an explicit dispose for slideshow's GLContext.Michael Meeks1-0/+2
Fixes crasher exiting slideshow. Change-Id: I14b6a2c1abc946f590bf91cab19099753172fd95
2015-09-16tdf#94213 - release offscreen texture properly on re-size.Michael Meeks5-4/+29
We need to ensure that we use an initialized context, and that (when we re-parent) we DeInit and so reset the previous OpenGLContext. Make UseContext more paranoid as well for good measure. Change-Id: Ia45334222045e5d2f48da47560fab8511223a9a5 Reviewed-on: https://gerrit.libreoffice.org/18601 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-15tdf#94213 - calc re-size flicker turns out to be the status bar.Michael Meeks2-1/+15
Using vdev's associated with old contexts, is un-necessary and a recipe for context switching & hence flicker. Change-Id: I37ed967a7816e5ca0240908ab4793ce1e68570ee Reviewed-on: https://gerrit.libreoffice.org/18602 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-15tdf#75256 Sifr iconset updatesMatthias Freund5-0/+0
I redo the sc_instergraphic to 1px outline instead 2px. New crop icon. sc_fillcolor now behind the color line sc_insertbookmark now without the plus. Change-Id: I9dd62bbe378735dea322b5ead03951d7db9a3162 Reviewed-on: https://gerrit.libreoffice.org/18596 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-09-15loplugin:cstylecastStephan Bergmann1-3/+3
Change-Id: Ib87c2d84bc954e768a9a5165f528936aafa94887
2015-09-15tdf#94237 tiled rendering: Use the entire document as the visual area.Jan Holesovsky2-1/+9
Many places were already adapted for the tiled rendering, and the conditions checking for the VisArea() were changed so that the checks are ignored when tiled rendering is active. Unfortunately there are still some places left, and they are causing that various areas are invalidated only partially. Let's sort it out for good, and report the entire document as the VisArea() when the tiled rendering is active, and if there are performance problems, let's profile that & act accordingly. Change-Id: I53f18915ed0aec898704dd1350a9534cfc3f001b
2015-09-15there's no default ScMatrixMode enum other than the known onesEike Rathke2-4/+0
... and if there was one not handled let the compiler complain. Change-Id: Ibe3a2a913edfbfbba30a83a8d985d5509853ff6d
2015-09-15stab MM_FAKE, it's a zombieEike Rathke5-10/+2
Change-Id: Iee70d0d027197c431926ab1194e0daa5eb429caf
2015-09-15Rename Sidebar.xcu node names to be meaningfulLaurent Godard3-50/+143
+ prefixe with Sd, Sw, Sc if only one application context, no prefix otherwise + uniformize implicit convention nodeName = Id + unit test + check nodeName/Id + panels are bound to existing deck Change-Id: I4ccc39008ebf5b5820d09472abfd45d2813e8c96 Reviewed-on: https://gerrit.libreoffice.org/18570 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-15WaE: loplugin:cstylecastTor Lillqvist1-4/+4
Change-Id: I08c31a7e097464da5df4fcda6637f442d147230f
2015-09-15NETWORKDAYS : make names for parameter 3 and 4 clearerWinfried Donkers1-2/+2
follow up of tdf#94079 Change-Id: I53c2b27ef713d60d3ae978e2f4d99072a339761a Reviewed-on: https://gerrit.libreoffice.org/18587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-15Split formula group for OpenCL up into smaller bits when necessaryTor Lillqvist4-18/+123
Will make it less demanding on low-end hardware, where the device driver is unresponsive for too long when an OpenCL kernel handling lots of data is executing. This makes Windows restart the driver which is problematic. I tried several approaches of splitting, both at higher levels in sc and at the lowest level just before creating and executing the OpenCL kernel(s). This seems to be the most minimal and local approach. Doing it at the lower level would have required too much poking into our obscure OpenCL code, like passing an offset parameter to every kernel. Use a simple heuristic to find out whether to split. On the problematic low-end devices, CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT is 4, while for more performant devices it is 1 or 8.
2015-09-15tdf#94079 allow empty array for holiday sequenceWinfried Donkers4-12/+16
in Calc functions NETWORKDAYS and WORKDAY.INTL Change-Id: I2d42ab956e4ab9f2187a0c6bc3c64c9306ca892a Reviewed-on: https://gerrit.libreoffice.org/18559 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-15tdf#93814: Added support for caching shader program binaries.Marco Cecchetti8-40/+367
Change-Id: I21c844b47282f6b3eec443933a86421a074e24df Reviewed-on: https://gerrit.libreoffice.org/18555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-09-15LOK: Avoid crash when the command is not available in the given component.Jan Holesovsky1-14/+9
In that case we get a NULL pSlot. Change-Id: I38783ed198b1ab9860398f59ef872a295cbae6f8
2015-09-15Updated coreBjörgvin Ragnarsson1-0/+0
Project: dictionaries 6eb65b46c58dd0b2a83a6c767cfd60f7f29968f7 Add Icelandic hyphenation rules Rules come with a CC BY 4.0 license and are downloadable at http://malfong.is/index.php?lang=en&pg=hyphen Change-Id: I994ab86cf0a3bb31b0f8b7e9df7ab6611beafe91 Reviewed-on: https://gerrit.libreoffice.org/18554 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-15do not write MM_REFERENCE formulas to OOXML, tdf#61908 follow-upEike Rathke1-46/+67
The array range is covered by MM_FORMULA. Excel even complained when loading such a document. Change-Id: I10e1b19fbfb8ea849ffe3d46504fdf3389633c5f
2015-09-15sw: use same condition in other cases in SwLayIdle::_DoIdleJob()Michael Stahl1-2/+2
The difference is VclInputFlags::APPEVENT, which is a Mac OSX specific mystery that presumably indicates user input. Change-Id: Icd0e3aa273e1a16e9bf0fb678e9e51dd37e159b7
2015-09-15tdf#93261: sw: fix idle auto-complete collection loop on big parasMichael Stahl2-2/+5
5 ms timers cause SwTextFrm::CollectAutoCmplWrds() to return early, and unlike the auto-spelling stuff there is nothing to store the already-checked range of the paragraph, so on the next iteration it will start from the beginning and time-out again. Prevent that by excluding TIMER events here, as is already done for the ONLINE_SPELLING case. Change-Id: Iac781f10ce0aef902fa921030e61b4cff65d0cb3
2015-09-15tdf#93261: sw: fix idle auto-complete collection loop on empty parasMichael Stahl1-3/+2
So the auto-spell-checking is hyper-optimized to add the words to the auto-complete list as well, and call SetAutoCompleteWordDirty(). But if you disable the auto-spell-checking, then a separate function SwTextFrm::CollectAutoCmplWrds() will be called, which is buggy because it only resets the dirty flag if at least one word of sufficient length was found in the paragraph, which is never the case for an empty paragraph. Change-Id: Idec64fc3c379301426a44e06a1114c474de36014