summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2015-12-08Related: tdf#71622 compress more gfx in odf streamsThorsten Behrens1-1/+27
Except for jpeg and png, most natively-stored image fileformats compress rather well with zlib. adding a number of vector and pixel formats. Change-Id: I97407a98f620520b0d11552911d2339bf004dc5b Reviewed-on: https://gerrit.libreoffice.org/20461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit ad0edc184792f3aa3f72e8d4ec8b76c3d1bf8479) Reviewed-on: https://gerrit.libreoffice.org/20467 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-25tdf#76825 Add padding between style render and context buttonYousuf Philips1-1/+2
Change-Id: I2d1185d433be0fbb57a59e0609ab0f505248a348 Reviewed-on: https://gerrit.libreoffice.org/19210 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit d65d9c546125ab999d645a921731170d60fa14ee) Reviewed-on: https://gerrit.libreoffice.org/20170
2015-11-25loplugin:unusedfields in include/svxNoel Grandin12-39/+12
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin2-2/+2
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-24crashtesting: ooo72999-1.ods NaNs found in light directionCaolán McNamara1-0/+5
and NaN != NaN so busted logic propogates, drop invalid directions on initial read Change-Id: Ic76c714666df14d37a4c68f43b817327675bd0e0
2015-11-24tdf#95970: Don't loose mirroring in SdrTextObj::TRSetBaseGeometryMike Kaganski1-0/+13
Currently, negative scaling (mirroring) is lost in SdrTextObj::NbcSetSnapRect, when rect is justified. This patch cares for this. Possibly it's better to make these changes directly in SdrTextObj::NbcSetSnapRect? Change-Id: I353ff01626e15b398de95e28eae78572991dfdc3 Reviewed-on: https://gerrit.libreoffice.org/20109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2015-11-23crashtesting: fdo30583-1 hits the Clone ugly tree all the way downCaolán McNamara12-0/+104
Change-Id: I091c3a61a28275e090975016908e3b25c7506fba
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara1-1/+1
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara2-3/+3
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23loplugin:unusedfields in svx/Noel Grandin8-25/+8
Change-Id: Ia6531b1ff8882ad06084f11dd10e2b1fe3c8cf24
2015-11-23SvxSmartTagsControl: Do not leak sub menusMaxim Monastirsky1-6/+4
And while on it, move other things to smart pointers as well. Change-Id: I8b234b8a9fe60e0ca82bb08e48f6b7db94cbcd4d
2015-11-21tdf#95963: Add required Clone functions for ImpressJulien Nabet4-0/+28
See https://bugs.documentfoundation.org/show_bug.cgi?id=95963 for more details Change-Id: Ia3fbf4db8d5b968e86007f7e9d6694d5e096f214 Reviewed-on: https://gerrit.libreoffice.org/20107 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin3-26/+5
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-19use comphelper::containerToSequenceNoel Grandin4-40/+8
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18svx: SdrLayerNameItem etc. missing Clone overridesMichael Stahl2-0/+11
Change-Id: I26ca8070d9c9607a475267ef8780f9013dfd4dcf
2015-11-18svx: SdrEdgeNode1HorzDistItem etc. missing Clone overridesMichael Stahl1-0/+29
Change-Id: I2bc2de3c3a71dd54e432905c129a3dbd5395f6ab
2015-11-18Revert "Flip buttons: Make the tooltip an uno command property"Samuel Mehrbrodt1-13/+40
The text should be in the extended tooltips, not in the default ones. This reverts commit 0e41564b2fa5192ef1e8ec5e51ad3c04dfa52afd.
2015-11-17No point to link against pure UNO component library fwkMatúš Kukan1-1/+0
Change-Id: I44d979180e53a7251547cebd60cf05c8322b2b83 Reviewed-on: https://gerrit.libreoffice.org/20028 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-17loplugin:unnecessaryvirtualNoel Grandin2-2/+2
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann1-1/+1
Change-Id: I5779c639c480d5a2fbefd47942a662ff7ca4a9f5
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin2-8/+2
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16Cleanup: Consolidate the different ways to get command labels/tooltipsSamuel Mehrbrodt1-1/+0
Change-Id: Ieab809a3122c9d592894b84ec2e68195a4e02dde
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian2-982/+700
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin6-13/+6
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin16-52/+26
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin4-12/+6
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-14tdf#95403 Add Outline buttonMaxim Monastirsky3-40/+106
Change-Id: I0d5187ed34539a05ab9f2ffdfb89118df0aa3511 Reviewed-on: https://gerrit.libreoffice.org/19964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-15Fix license headerMaxim Monastirsky1-10/+0
This is an original file created by me. Not sure how I missed the wrong header. Change-Id: Ic56d66b1b10aa83dee835925dbf2e9a6d6a130ab
2015-11-13tdf#86886 Shortcut keys missing in undo and redo tooltipsSamuel Mehrbrodt1-3/+3
Change-Id: I8df003bdad4430a174815ce51197b997717ef379
2015-11-13svx: loplugin:badstaticsMichael Stahl2-5/+2
Change-Id: Ief31d8153fdbf91cdd29df5ac7801bd88a98542e
2015-11-13svx: rename static variableMichael Stahl1-5/+5
Change-Id: I98246395bb0de7444864ce35d1cbdd4711b5bfeb
2015-11-13Flip buttons: Make the tooltip an uno command propertySamuel Mehrbrodt1-40/+13
Change-Id: I3d6984b3b51e7eb2affa7fafebf8b745e60b3f20
2015-11-12tdf#95551 - fix image map crash.Michael Meeks1-3/+9
Remove listener we add, and don't crash on callback for disposed dialog. Change-Id: Ia6a1bddd212cb28a0331469e8e87324346d02841
2015-11-12Sidebar: Make the flip buttons available for Images in Writer alsoSamuel Mehrbrodt1-104/+26
And reduce copypasta Change-Id: I140bb8ad68bc35ba41c272cc4eb89b4a2d209a45
2015-11-12tdf#90357 create correct undo actionArmin Le Grand1-0/+8
when merging in pages from another model the already cloned page references a masterpage from the old model. To not create an undo action that falsely reflects that, remove the masterpage from the page first. This reflects better what happens in this state, setting the masterpage for this page the first time. Change-Id: I0288268cb0963ddc2e8446661ffd30a94a0744d2
2015-11-12Namespace cleanup and disambiguationAshod Nakashian16-107/+98
Change-Id: Ib6d2f8b4e71436c3a7c26bdfc9847152ebaf0739 Reviewed-on: https://gerrit.libreoffice.org/19900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-12sfx2: boost::ptr_vector->std::vectorNoel Grandin1-4/+4
Change-Id: I0ffe29145fb56f284300d40dfea323a8b16c26de
2015-11-12Bin mesa_headers completelyTor Lillqvist1-1/+0
We don't need them in a MSVC or OS X compilation either. Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12Avoid mesa_headers on X11, also link with -lGL only where necesssaryTor Lillqvist2-2/+1
The GLEW headers are enough, and what we actually use in these places. In addition to handling GL extension things in its dynamic fashion, GLEW headers also have declarations for standard, non-extension, OpenGL API, including xgl and wgl ones. Most likely we don't need mesa_headers on Windows or OS X either, and can drop them completely. Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-11-11Fix MSVC build: Need to delete copy ctor and operator=Tor Lillqvist1-0/+3
Change-Id: I6ccc228b9259b44c4eb8651096f534a788788a6a
2015-11-11loplugin:nullptrStephan Bergmann2-2/+2
Change-Id: Id0cab3b90ea9f3de7dc63f58ef247ba512af79f4
2015-11-11-Werror,-Wunevaluated-expressionStephan Bergmann1-1/+1
Change-Id: Ibc717656d10a1a4e8ed3c7d170f2613abf299880
2015-11-11Resolves: tdf#95723 arrange GridControl buttons to be always visibleCaolán McNamara1-11/+71
as long as there's space for them Change-Id: Id96069b5c50483309611381afdf62bb0d30e9c38
2015-11-11Resolves: tdf#94069 call setVisible when setDesignMode is calledCaolán McNamara1-0/+2
void UnoControl::setDesignMode calls setVisible on the XWindow so it seems sensible that FmXGridPeer::setDesignMode should also do so. The desirable side effect is that moving the window in design mode then is moving a un-shown window so nothing is invalidated so the paint loop doesn't happen. Change-Id: Ic5a4ba62590372bec15a29b993b73d6dfb94a8a9
2015-11-115th step to remove tools/rtti.hxxOliver Specht87-307/+245
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11remove boost/ptr_vector from pch fileNoel Grandin1-1/+0
Change-Id: I040d1298780e8440a8a18f193d5f32cd0e3bcd4f
2015-11-11svx: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-4/+5
Change-Id: I6f3fee6b95e8675e04f867bf59447fa569a61d8e
2015-11-11svx: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-4/+4
Change-Id: Ib4ebadcdecc0f673c585c820b4aa4a3e1e123f0c
2015-11-11new loplugin: memoryvarNoel Grandin2-12/+11
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10XDash: salu_uIntPtr to sal_uInt32Matteo Casalin1-3/+3
Unsigned integer was used tp be consistent with previous integral type, but both unsigned and signed integers are used by callers. Change-Id: I3f902e00fbff690a72a7ca0f1c818976d3d2bebe