summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2015-11-24-Werror,-Wunused-private-fieldStephan Bergmann1-2/+0
Change-Id: I592db0524cb1d028e7dd3c3d49457f4a4038d5be
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara2-3/+3
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara2-3/+3
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/+4
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23loplugin:unusedfields in sd/Noel Grandin48-246/+98
Change-Id: Id6da990828ece02132032285116f3a20de423519
2015-11-22Remove superfluous line in license headerMaxim Monastirsky1-1/+0
Change-Id: Ife858b771ecee5cc84a5ad185b8a74b69ec00655
2015-11-22Allow .uno:DisplayMode to be added to toolbarsMaxim Monastirsky1-1/+1
Change-Id: I31fedddb96afee820aaeedeea53096570594993b
2015-11-22cppcheck: fix 1 memleak (fusel.cxx)Julien Nabet1-3/+2
Change-Id: I6201d926e6987f231ce11ab6d3a502e8034b4818 Reviewed-on: https://gerrit.libreoffice.org/20114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-22cppcheck: fix 1 memleakJulien Nabet1-5/+5
Change-Id: Ic738033bc9a10df4ddc26c4538a6969d389dc631
2015-11-21tdf#92527 unit testAndras Timar2-0/+54
Change-Id: I05eb8e99d919eea267df174e948cec29bdf04e75 Reviewed-on: https://gerrit.libreoffice.org/20100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt13-43/+45
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-20Remove redundant toolbar:style="radio" propertySamuel Mehrbrodt18-110/+110
Change-Id: I56969839a93af975466ab6c28f2f87557e4d7f1b Reviewed-on: https://gerrit.libreoffice.org/20074 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-20Remove redundant toolbar:style definitionsSamuel Mehrbrodt22-136/+136
Change-Id: If255e6bebe501f1b0959613ce091b322af064628
2015-11-20Impress/Draw: Open Navigator in the SidebarSamuel Mehrbrodt1-14/+2
Change-Id: I9a4ba3fd9c3909ccc5dfc459478a7b9b59fdc70e Reviewed-on: https://gerrit.libreoffice.org/20050 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-19Remove redundant toolbar:style attributesSamuel Mehrbrodt16-38/+38
These have been defined in the widgets Change-Id: If46a6862872286a454804846128bd8658f60af9b
2015-11-19loplugin:sallogareasStephan Bergmann1-1/+1
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-19Let's see if this fixes Jenkins buildMaxim Monastirsky1-0/+1
Change-Id: I007bc7b30c6f1c52ce2d69c63a43cbe4a11e809c
2015-11-19Further cleanup of 229fc164dc1773484b74eca016863cf68860e81bMaxim Monastirsky2-94/+29
Change-Id: Iaafc02f7c925c82b6bd7f98dd875028880b8788d
2015-11-19use comphelper::containerToSequenceNoel Grandin3-17/+4
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18Code cleanup for gerrit change 16723Philippe Jung3-37/+25
Simple code clean-up taking into account Maxim Monastirsky remarks. Change-Id: If6393851c3eb6fd8a460ef95ef88ccf3aed82e3e Reviewed-on: https://gerrit.libreoffice.org/20047 Reviewed-by: Philippe Jung <phil.jung@free.fr> Tested-by: Philippe Jung <phil.jung@free.fr>
2015-11-18pptx: import/export of honeycomb slide transitionTomaž Vajngerl3-1/+9
Change-Id: I3edb77d5b046691e64d600d61dcd44e892c31301
2015-11-18loplugin:nullptrStephan Bergmann1-1/+1
Change-Id: I57ac7deb1c997adfa656aa0a3c9a1ae82b66cf15
2015-11-18loplugin:nullptrStephan Bergmann1-2/+2
Change-Id: Ia908a67106afee5c9f67c0eb4fb3e9b073329bf8
2015-11-18vcl::ITiledRenderable::initializeForTiledRendering: support init. argumentsMiklos Vajna3-3/+3
Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
2015-11-18Unify menu-based toolbar controllersMaxim Monastirsky1-2/+0
The new GenericPopupToolbarController takes by default the popup menu controller that registered for the same .uno:Something command, and sets ToolBoxItemBits to ToolBoxItemBits::DROPDOWNONLY. If a different command specified using the "Value" property - takes the popup menu controller that registered for this command, and sets bits to ToolBoxItemBits::DROPDOWN. Change-Id: I75c5300bd27fcc9f618f2ee0df2aa6aefd088239 Reviewed-on: https://gerrit.libreoffice.org/20040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-18Impress: Rework the way the display modes are presented.Philippe Jung29-361/+809
TODO: take into account remarks from Gerrit New combo to select display mode among: - Slide edition (Normal) - Outline - Notes - Slide sorter - Slide master - Notes master - Handout (master, as we are designing the template used to generate the handout) The combo is based on uno command .uno:DisplayMode Center pane tabs are hidden by default. A new uno dispatch command (.uno:ToggleTabBarVisibility) is available to show/hide this tab bar. Modified uno dispatch commands: No uno name has been modified. .uno:DiaMode : SID_DIAMODE renamed SID_SLIDER_SORTER_MODE .uno:OutlineMode SID_OUTLINEMODE renamed SID_OUTLINE_MODE .uno:NotesMode No change .uno:HandoutMode SID_HANDOUT_MODE renamed SID_HANDOUT_MASTER_MODE All internal code also considers the edit mode as master .uno:SlideMasterPage SID_SLIDE_MASTERPAGE renamed SID_SLIDE_MASTER_MODE If the input parameter SfxBoolItem Isactive is true or not provided, activates Slide Master mode. If parameter is false, activates the "Normal" (slide editing) mode. .uno:NotesMasterPage SID_NOTES_MASTERPAGE renamed SID_NOTES_MASTER_MODE If the input parameter SfxBoolItem Isactive is true or not provided, activates Notes Master mode. If parameter is false, activates the "Notes" mode. Modified behaviours: Now only one mode can be chosen. It is possible to navigate from a mode to any other mode. Previous behaviour: the following navigation Normal -> Slide Master -> Notes -> Normal was displaying slide master. It was required to activate Normal once more to get back to normal. Now the same commands will display the requested mode. Still to come (at least): - Fix reopen the last display mode. - Center pane tabs are now presenting all buttons for all modes (TODO). Change-Id: I11ab59d2f3caa9149260c5e55d44d598d0ce3390 Reviewed-on: https://gerrit.libreoffice.org/16723 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-11-18sd: Add a separator between the 'insert' buttons and text-related ones.Jan Holesovsky2-0/+2
Change-Id: I9e48407f6f5eb5cc4c36439b72648bb8d43deb79
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin1-8/+0
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-18Removal of SID_TITLE_MASTER related codePhilippe Jung6-131/+3
i35731 fixed a bug by deprecating SID_TITLE_MASTER dispatch command in 2004. So the feature can not be called anymore since 2004. Ten years after, this changeset removes the code that could be considered as dead code. Change-Id: Ie212baf7ece2897578d2494030d790bcadd16f5f Reviewed-on: https://gerrit.libreoffice.org/16933 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-18use unique_ptr for pImpl in sd/Noel Grandin2-2/+2
Change-Id: I7098c1dd51fe27e424d612b2503fa842ced77639
2015-11-17vcl, sd: rename some overly generic static variablesMichael Stahl1-7/+7
Change-Id: I89159df36361f9ceff3401ef379c8230465617b7
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-17Toolbar: Remove empty attributesSamuel Mehrbrodt3-37/+37
Change-Id: Id78cae55eb89520bd87713f9ea6c009c922f2870
2015-11-17loplugin:nullptrStephan Bergmann1-2/+2
Change-Id: Iaf31a731c9151972ba2fe2ed50074ea59c147550
2015-11-17loplugin:unnecessaryvirtualNoel Grandin1-3/+3
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-17WaE: loplugin:stringconstantTor Lillqvist1-1/+1
Change-Id: I8765ae89bcab8dc3c7360dace57a57094e5c5cc4
2015-11-17tdf#94272: Reduce copy'n'pasta code in sd unit testsKatarina Behrens3-386/+162
Change-Id: Id1a1180e00a1c1ce7020df52f246b0c135ba03f2 Reviewed-on: https://gerrit.libreoffice.org/19912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-17Add icons for future display mode selectorPhilippe Jung2-0/+36
Change-Id: Iddc3a3dec55a4c1c2fb9fcb4cf6e9449b4f1d11e Reviewed-on: https://gerrit.libreoffice.org/16934 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann1-1/+1
Change-Id: I508520556cd5755d81740b00c7815eebdef6576e
2015-11-17Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann2-4/+4
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-16slideshow: initial work on "honeycomb" transition (incomplete)Tomaž Vajngerl1-0/+3
Change-Id: I4a46f7f1ec289f96f9fd1b849317b7548ac29383
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin2-4/+2
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin1-3/+1
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-15Fast PCH generator and optimized PCH filesAshod Nakashian2-709/+698
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 Grandin1-2/+1
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 Grandin2-6/+3
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 for Sequence<OUString>Noel Grandin1-2/+1
performed using: 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: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin1-2/+1
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-14Slideshow update loop; set scheduler priority to REPAINT.Michael Meeks1-0/+2
Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2
2015-11-14Fix selection of transition groups with just one variant.Michael Meeks1-17/+26
Change-Id: I3a49fd336961b860f4b19b37a8d18cef8e4a5557