summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-07Added using an own instance of ThreadPoolfeature/svg-optimisationsArmin Le Grand
Using the global ThreadPool (getSharedOptimalPool()) can lead to problems when more than one usage executes and one of them already calls waitUntilEmpty() what of course influences the other usage. Thus I added an own instance of ThreadPool for async loading of chart models in writer Change-Id: I4bea64af0d36e87081abec95c75574966d0fe5b9
2016-07-07tdf#82214 optimize PatternFillPrimitive and SVGArmin Le Grand
Use buffering in the drawinglayer, and don't do slow stuff in the windows gdi renderer. Conflicts: svgio/source/svgreader/svgstyleattributes.cxx Change-Id: Id955ee6a3b03e568c2678f02d77af35d2e5ba1d4
2016-07-07tdf#82214 optimize performance for primitivesArmin Le Grand
See svg bug doc, which is processed quite slowly. Beyond needing faster renderers, there is also demand to improve the handling of primitives created by SVG import. Conflicts: drawinglayer/source/primitive2d/patternfillprimitive2d.cxx vcl/win/gdi/gdiimpl.cxx Change-Id: I10992a5746b8b2d6b50e3ee3fe415a035685c9ba
2016-07-07tdf#99165 avoid passing empty control points for beziersArmin Le Grand
Some graphic sub systems have problems to create correct geometry for fat line drawing when 'empty' control points are handed over for bezier curves. Avoid this by offering the mathematical correct default in that cases. Change-Id: I20f484ef4537076889d832d83581844690514acc
2016-07-07sw: tdf#50613 fix async chart load handlingArmin Le Grand
Especially if synchronous loading is requested, an async worker is on the way and we would need to 'wait' for the data. Change-Id: I20f9938738c1b46bda6b9a7f5a761e82153aed3b
2016-07-07sw: tdf#50613 fix waitFinished into a loopArmin Le Grand
Change-Id: Ic8a720657c326d8d51bb3a73688b8f02b7096488
2016-07-07tdf#50613 add support to load charts asynchronouslyArmin Le Grand
Generating primitives for chart visualisation can be moved to a paralell executed task that loads the chart, thus speeding up initial visualization. This is not possible for e.g. PDF or print targets, only for edit visualization. On fallback, the replacement images of the charts are used which are metafiles and have less quality as primitives, but load quicker. Change-Id: I68caa9e1bec50832bce535b5f54633d53cdef037
2016-07-07tdf#83360 avoid inconsistent connector path dataArmin Le Grand
When loading/importing connectors from ODF format, use the available path data _only_ if the redundant data of start and end point coordinates of path start/end and connector start/end is equal. This is to avoid using errorneous or inconsistent path data at import of foreign formats. LibO itself always writes out a consistent data set. Not using it when there is inconsistency is okay since the path data is completely redundant, just to avoid recalculation of the connector's layout at load time, no real information would be lost. A 'connected' end has prio to direct coordinate data in Start/EndPosition to the path data. Change-Id: Id5aff0889e1e61112b6185f2384b7922f90a16a9
2016-07-07tdf#50613 buffer OLE primitives for chartsArmin Le Grand
If OLE is a chart, buffer the primitives used for presentation as info at the SwOLEObj, after getting them the first time using the ChartHelper. Change-Id: I6d7486185f6eac450de9328d37ea800f424f351b
2016-07-07tdf#50613 add close_path to correctly show closed polygonsArmin Le Grand
For closed polygons it is essential to add a close_path to correctly show the last line join. Change-Id: Ib6f37bbc5e85133f21a936b186eb0ab12773f7da
2016-07-07tdf#50613 speedup fat line drawing on linux using cairoArmin Le Grand
Drawing fat lines is slow on linux due to X11 having no direct support for it. This leads to creating the PolyPolygon geometry for each fat line, then tesselate and draw as trapezoids. This is not buffered in any way and is done at each paint. As a side effect, fat lines composed of multiple anti-aliased lines also show errors since AA-ed edges do not add up graphically. Since we have cairo now available it makes sense to use it for fat line drawing, it is markedly faster despite being a software renderer. No such gains for PolyPolygons though. Change-Id: If4001556e2dd4c15ecf2587cad6ce1e864558f2d
2016-07-07tdf#100646 Make correct use argument PartType in financial functions.Winfried Donkers
PartType was used as double and with horrible interpretations of boolean values, like [<=0] equals false. Functions affected are CUMIPMT, FV, IPMT, PMT, CUMPRINC, PV, NPER. Change-Id: Ieeb522c23ed1cc2046e4ddb9fe10b1008550e8c1 Reviewed-on: https://gerrit.libreoffice.org/26906 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-07-07AppArmor fixes to fix testsBryan Quigley
This lets you run LO build tests while that LO is confined by apparmor. It assumes that you can have RW access to wherever LO actually needs it in the instdir. This obviously doesn't superseed file permissions so you can still make the binaries read-only, etc. Change-Id: I313459cdf115f4fda5f621b2a0c9a1da022ef525 Reviewed-on: https://gerrit.libreoffice.org/26987 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-07starmath: Remove a couple of unused error codesTakeshi Abe
Change-Id: Iae3118150cf9119e48b1740ea630dea0ebef895a Reviewed-on: https://gerrit.libreoffice.org/26998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-07Related: tdf#92478 speculative win64 scanning fixCaolán McNamara
TWAIN-2.3-Spec.pdf says... All TWAIN 2.x Sources must be prepared to work with either TWAINDSM.DLL or TWAIN_32.DLL, which may still be used by older Applications. The TWAIN DSM is a shared library named TWAINDSM.DLL. There is a 32-bit and a 64-bit version of this file. Change-Id: I047d872271573a5b2efc3ee2af4ecfc4e142a2b2 Reviewed-on: https://gerrit.libreoffice.org/26541 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-07gtk3: if a popup is withdrawn close the popupCaolán McNamara
we don't always get the click that causes the popup to be withdrawn when the mouse is clicked outside the application during a grab Change-Id: I2dbef23813972ebd75c8899711a2d1309110f968
2016-07-07make this a little more clearCaolán McNamara
Change-Id: I1e13ba97bd057b755fc65b2c90a6b74669422b22
2016-07-07hitting esc while insert->table float is open crashesCaolán McNamara
Change-Id: I96817f0c061c29eafba942884fcf37788341ff20
2016-07-07GSoC Writer Table Styles ImportJakub Trzebiatowski
This patch is implementing import of table styles (table-template). Modified shared code: Added "background" to the cell styles export. To make cell export properties map accessible by both export and import code, moved from xmloff/source/table/XMLTableExport.cxx to xmloff/txtprmap.hxx. To avoid export of default valued properties implemented XPropertyState for SwXTextCellStyle Change-Id: I8b4f12e4b51f478f8ce8fde1203cd4611d7ae852 Reviewed-on: https://gerrit.libreoffice.org/26721 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-07sw: prefix members of SwSrcEditWindowMiklos Vajna
Change-Id: I6944a398bc7689ef4d2daf4ac8b9f601c0dff450 Reviewed-on: https://gerrit.libreoffice.org/26997 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-07Updated coreAndras Timar
Project: dictionaries a4a8bb897b5e5dc0b90579b73ed071d47f66f699 Update pt_PT dictionary to version 16.7.4.1 Change-Id: If00be0e9c05c5cf1cc67427eed723484ad33e6d2
2016-07-07tdf#95367 inherit page style if no new one importedJustin Luth
CopyLastHeaderFooter doesn't do much good if the previous section has blank stylenames. (usually because of continuous section breaks). Change-Id: Ida1e42ab0b650c7c43f06539b3cc058fe5c27919 Reviewed-on: https://gerrit.libreoffice.org/26911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-07starmath: Drop useless PE_BINOPER_EXPECTEDTakeshi Abe
as no code generates the error. Change-Id: I86f2db28030090e0a9284e7771f26821468bb685 Reviewed-on: https://gerrit.libreoffice.org/26974 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-07Add test for XML Range Conversionsslideon
SwChartDataProvider's XML conversion methods were untested. Also add tests for SwChartDataSequence's clone method and its get/ set property value methods. Change-Id: I6323a7af1eae747592f5016b13fb5e2e3f0b71d1 Reviewed-on: https://gerrit.libreoffice.org/26995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-07-07update creditsChristian Lohmaier
Change-Id: Id597c51484924f0398bbb30ba419809beb9a96b5
2016-07-07update emoji autocorrect files from po-filesChristian Lohmaier
Change-Id: I7f92c40ea33a04a2c7ea8545d423c645503fd445
2016-07-07Updated coreChristian Lohmaier
Project: translations 4659a8d992ac88a1f941ce8d3e81124406d58e57 update translations for 5.2.0 rc2 and force-fix errors using pocheck Change-Id: Ib04fb536c08f6a16d587ac60ac5a5cee0e82e6cf
2016-07-07tdf#100295 force curl to build for XPMarkus Mohrhard
Change-Id: Ia705704bc80a951f0da04936783dd8965bda842b Reviewed-on: https://gerrit.libreoffice.org/26886 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-06Reload the preset list after deletionRishabh Kumar
ValueSet assign Ids to entries when the list is loaded. Ids are not changed after deleting entries. Change-Id: Ia4442992561bf2cd82ff325abef8e34715851e1d Reviewed-on: https://gerrit.libreoffice.org/26986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-06sc lok: add toolbar item wrap text and merge cellsHenry Castro
Change-Id: I266b7171ee0a8a324ee8f71680f76c132b5c5fbd Reviewed-on: https://gerrit.libreoffice.org/26985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-06clang-tidy performance-faster-string-findStephan Bergmann
Change-Id: Ia645dd9c5301d93abea90646ad32e94b8cb8ce17
2016-07-06clang-tidy performance-implicit-cast-in-loopStephan Bergmann
...where the first component of the pair returned by the iterator would be const, so an implicit conversion would be required. Change-Id: I62b6ddd799261e1dd63ea5c42a85d8b071f8b8b7
2016-07-06Silence loplugin:staticmethods under --disable-debugStephan Bergmann
...after 0d3f9667bbc7b1a22d33dc92a2028fc712495a8e "AllocatorTraits::size can be static after all" Change-Id: I7fb2558c322dd7d92f3a3bda9a93a1b3da575d2e
2016-07-06Add XGradientList to SvxPresetListBoxRishabh Kumar
Change-Id: I0b4af0eb465b997e8bea012b1f2e3cc07cce6ddb Reviewed-on: https://gerrit.libreoffice.org/26953 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06Improve Tooltip Labels for Writer ToolbarSamuel Mehrbrodt
Change-Id: I68b639b85974739d23affe373d686e094b3ef715 Reviewed-on: https://gerrit.libreoffice.org/26978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-06Make gradient UI bitmap resizableRishabh Kumar
Change-Id: Icaa06911a620697d86a8854ba6bc46874c195b97 Reviewed-on: https://gerrit.libreoffice.org/26949 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06OSL_TRACE->SAL_INFO for the Invalidate all children outputCaolán McNamara
Change-Id: Ib5db114502ebf86ab1581104b914c84eceb50829
2016-07-06tdf#99996 tdf#100594 tdf#100754 Add qa unit testLaurent Balland-Poirier
- tdf#99996: new algorithm for better fraction representation - tdf#100594: forced denominator with one ? for numerator - tdf#100754: forced denominator with text after fraction Change-Id: I0990c7b3848ba5def629346f71be732d75ca248d Reviewed-on: https://gerrit.libreoffice.org/26867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-06tdf#77667 Remove gcc3 workaroundkrishna keshav
where it could handle instantiated objects as parameters Removed objects of 'Point' as 'Point()' can be instantiated as a parameter. Change-Id: Iad2dceed6dfe8bd3cc555758c518620cd975a8fc Reviewed-on: https://gerrit.libreoffice.org/26967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-06Resolves: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if...Caolán McNamara
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: I91fb8f622a0e35741ecc37cef14fc93199bb730b
2016-07-06Redesign of Hatch tabRishabh Kumar
1. New Hatch Listbox for presets. 2. Context menu for rename and delete. 3. Rearrangement of controls. 4. Remove Save and Load Buttons. Change-Id: Iad2479bc418f7a257a410df7f11c23ed8dd7734c Reviewed-on: https://gerrit.libreoffice.org/26869 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06starmath: Drop unused PE_UNEXPECTED_END_OF_INPUTTakeshi Abe
Change-Id: Ic5e6df6d332ef20dec22ac84544f53e0e79f5eb1 Reviewed-on: https://gerrit.libreoffice.org/26938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-06loplugin:vclwidgetsNoel Grandin
Change-Id: Id276128a249aeac98ac3374b975bf1cd946d5aa7
2016-07-06restore loplugin:vclwidget checking for calling clear() on VclPtr fieldsNoel Grandin
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405 Reviewed-on: https://gerrit.libreoffice.org/26806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-06fix missing semicolon that breaks packaging windows installerChristian Lohmaier
regression from 76585ae33f3ca75c05c0ccbf6a621b6e2d42bc00 Change-Id: Ia8e74034ee04a96cf1a502d28c9c6ed015653047
2016-07-05when disposing popup menus, don't leave dangling pointersNoel Grandin
Change-Id: Ia1b49937ba0693a567097367b99b75a3011666bf Reviewed-on: https://gerrit.libreoffice.org/26960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05sc: re-factor perf-tests.Michael Meeks
Reduce copy/paste coding. Don't setup array (matrix) formulae - we don't accelerate those anyway. Change-Id: I02f122ed03e90fe509c9764307aacf82ca7b4ba7 Reviewed-on: https://gerrit.libreoffice.org/26965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05cui: add calculation mode to Help->About.Michael Meeks
Change-Id: I4765436bed8a58c5097afcf7dce768d3ec325015 Reviewed-on: https://gerrit.libreoffice.org/26964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05tdf#73742 Don't replace existing image when inserting oneSamuel Mehrbrodt
If we want to replace an image, we have an entry in the context menu for that. Change-Id: I7a5326fecb72896c0709c9272769b8d51e4a5ca2 Reviewed-on: https://gerrit.libreoffice.org/26947 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05Workaround to call /app/bin/xdg-open when run under flatpakStephan Bergmann
LibreOffice wants to open URLs by calling /usr/bin/xdg-open, which the flatpak org.gnome.Platform runtime does not provide. However, <https://github.com/flatpak/xdg-desktop-portal> will provide a Desktop portal through which an application can make an OpenURI request. So the idea is to include a fake xdg-open application in the LO flatpak, that will use gdbus to call that portal. However, I see no way to make the LO flatpak provide that as /usr/bin/xdg-open, so instead provide it as /app/bin/xdg-open and hack LO to use that path when run under flatpak (where the LIBO_FLATPAK environment variable is already used for the OfficeIPCThread). Change-Id: I63bc0bfb937ef767958ba4d34b0c3653e38ec868