summaryrefslogtreecommitdiffstats
path: root/sd
Commit message (Collapse)AuthorAgeFilesLines
...
* tdf#94272: Reduce copy'n'pasta code in sd unit testsKatarina Behrens2015-11-173-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>
* Add icons for future display mode selectorPhilippe Jung2015-11-172-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>
* Don't assume sal_Unicode is unsigned shortStephan Bergmann2015-11-171-1/+1
| | | | Change-Id: I508520556cd5755d81740b00c7815eebdef6576e
* Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann2015-11-172-4/+4
| | | | Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
* slideshow: initial work on "honeycomb" transition (incomplete)Tomaž Vajngerl2015-11-161-0/+3
| | | | Change-Id: I4a46f7f1ec289f96f9fd1b849317b7548ac29383
* no need to take a mutex when only dealing with stack-local dataNoel Grandin2015-11-162-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>
* use initialiser list for Sequence<OUString>Noel Grandin2015-11-161-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>
* Fast PCH generator and optimized PCH filesAshod Nakashian2015-11-152-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>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-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>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-152-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>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-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>
* use initialiser syntax for Sequence<OUString>Noel Grandin2015-11-151-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>
* Slideshow update loop; set scheduler priority to REPAINT.Michael Meeks2015-11-141-0/+2
| | | | Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2
* Fix selection of transition groups with just one variant.Michael Meeks2015-11-141-17/+26
| | | | Change-Id: I3a49fd336961b860f4b19b37a8d18cef8e4a5557
* slideshow: cleanup main-loop usage, post-yield listeners, etc.Michael Meeks2015-11-132-42/+6
| | | | | | | | | | | | | | | | | | | | | | | This removes several attempts at reducing jitter in slideshow animations. Now we have high-resolution (ie. not clamped to 10ms) timers on Windows and a cleaner and simpler main-loop, we should be able to use generic timer code-paths for all of this. This also allows us to further cleanup and simplify the main-loop removing the now redundent post-yield handler concept. If there is a short enough timeout, we will take just 1ms of delay before executing a short timer anyway. Also removed some lingering comments from an old attempt to boost priorities which broken audio playback. Tested: tdf#32861 - still works, audio still plays, no new jitter in animations that I tested. Change-Id: Iadc5e2a48828a18a599a86a8df14cb2b75dd425e Reviewed-on: https://gerrit.libreoffice.org/19947 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* sd: rename static variable SdDrawDocument::pDocLockedInsertingLinksMichael Stahl2015-11-133-8/+9
| | | | Change-Id: I6092d64f0e64d295253505b27c9aee7874d9ecce
* slideshow: add "glitter" slide transitionTomaž Vajngerl2015-11-134-4/+20
| | | | Change-Id: Ie89b64c4399cd0092eee579660c9fe85f8ca8e73
* Namespace cleanup and disambiguationAshod Nakashian2015-11-122-3/+3
| | | | | | | | 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>
* Shorten transition group names to make them better legends.Michael Meeks2015-11-121-1/+1
| | | | | | | Change-Id: I8746ca87ed89bddafb839863829307f5fc51def0 Reviewed-on: https://gerrit.libreoffice.org/19914 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* Encourage ValueSet to render a legend as well as an icon.Michael Meeks2015-11-121-8/+9
| | | | | | | Change-Id: I83688a70b864bddb2af0a0a5b34968099c49d112 Reviewed-on: https://gerrit.libreoffice.org/19913 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* sd: boost::ptr_vector->std::vectorNoel Grandin2015-11-124-20/+15
| | | | Change-Id: I59ecb4a46c21ceb82beb28c65b1fb43b329567da
* sd: remove the maLockedRedraws fieldNoel Grandin2015-11-122-20/+2
| | | | | | not doing anything useful Change-Id: I3c11261cff73886eb93cd76062c0ff5018384b3d
* sd: boost::ptr_vector->std::vectorNoel Grandin2015-11-121-4/+3
| | | | Change-Id: If67e06ec320afdb1975947d06ded1ebacfa0b06a
* sd: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2015-11-122-7/+7
| | | | Change-Id: I0950b732f60a7b75d87da520f8cbc131d1a04137
* sd: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2015-11-122-17/+22
| | | | Change-Id: Ie0073c439cdfe37e5340081f16afb906d32a8369
* sd: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2015-11-123-19/+20
| | | | Change-Id: Ib22556bc6af1700e62d1710ac32068c541c72f86
* sd: boost::ptr_vector->std::vectorNoel Grandin2015-11-122-14/+13
| | | | Change-Id: Idff9e260f180ea4d68ae7c04414d61f5f5887f0b
* sd: boost::ptr_vector->std::vectorNoel Grandin2015-11-122-4/+3
| | | | Change-Id: I8eb4327163f7b3b5b8f88e93719fb7b15f31e7fd
* sd: boost::ptr_vector->std::vectorNoel Grandin2015-11-121-9/+8
| | | | Change-Id: I6b72d6642b8d6da0942dd1ed24b484c065162aae
* coverity#1338594 Missing break in switchCaolán McNamara2015-11-111-1/+2
| | | | Change-Id: I32364aff6d99bd67691a27eef439318c21b36695
* unused headerCaolán McNamara2015-11-111-1/+0
| | | | Change-Id: I422d8f50e6dfb0d2ad2fb2ec49639a5f822d014d
* 5th step to remove tools/rtti.hxxOliver Specht2015-11-11178-202/+1
| | | | | | | | | | | 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>
* loplugin:staticmethodsStephan Bergmann2015-11-112-18/+17
| | | | Change-Id: I04b15122e73c527fbc695687079f6093ebcb5a5f
* loplugin:overrideStephan Bergmann2015-11-111-1/+1
| | | | Change-Id: Idc3530ee5afab268ce54a34d7258b2494525af74
* Switch transition selection pane to use an icon-based ValueSet.Michael Meeks2015-11-113-110/+122
| | | | | | | | | Also enlarge the (rather ugly) sample icons. Change-Id: I6d64613b71ee015bf775a7c720c5b9a4ea464bab Reviewed-on: https://gerrit.libreoffice.org/19892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Implement LOK_CALLBACK_MOUSE_POINTERAndrzej Hunt2015-11-112-0/+16
| | | | | | | Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10 Reviewed-on: https://gerrit.libreoffice.org/19883 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
* sd lok: ccu#1295 force async image swapAndrzej Hunt2015-11-111-2/+9
| | | | | | | | | | | | | This helps ensure that images are swapped in when we actually render tiles. Previously we'd sometimes have placeholders instead of the image, which results in either an invalidate (+rerender of that tile) once the image is swapped in (for normal tiles) or a permanently missing image in the preview tiles. Change-Id: I1a16a913faf9fad20e40a5d1aad3de187038c7a2 Reviewed-on: https://gerrit.libreoffice.org/19890 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
* new loplugin: memoryvarNoel Grandin2015-11-112-6/+3
| | | | | | | | | | 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>
* Missing includesAshod Nakashian2015-11-101-0/+2
| | | | | | | | | | Restored some missing includes and refactored sot/formats.hxx. Change-Id: I11b7102b06889f426f5e0f3efa3a835c6e774d88 Reviewed-on: https://gerrit.libreoffice.org/19891 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
* Remove unused XDash variablesMatteo Casalin2015-11-101-1/+0
| | | | Change-Id: Ibc40a0f8b422aebeeb1df5a6701dee4be134862b
* loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann2015-11-101-2/+2
| | | | Change-Id: I9f328c4852a69fc8bd670153653f4a985834f43b
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-10364-3509/+3509
| | | | Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
* pptx: "fall" transition, which needed p15 namespaceTomaž Vajngerl2015-11-092-9/+34
| | | | | | | | | | | Added p15 namespace which is present in MSO 2013+ documents. It adds a "prstTrans" element with a string "prst" attribute which is a name of the transition to be performed. This was added to support "fall" transition which translates to "fallOver" preset transition. Change-Id: I429bb106a12c1b99cce756502508e917720daef3
* pptx: import "Vortex" and "Ripple" transition + testTomaž Vajngerl2015-11-092-2/+10
| | | | Change-Id: I29d71e9c07c4964275c13772cdb6042624550acb
* pptx: export "Ripple" and "Vortex" transitionTomaž Vajngerl2015-11-091-0/+10
| | | | Change-Id: I7e6683e8d4b461f193f64e2b1f077a5936008c1f
* pptx: export "Turn around" and "Rochade" transitionTomaž Vajngerl2015-11-091-0/+14
| | | | Change-Id: Id984b9bf3b67e3bb1d8287819c28c23a0b8a2a61
* new loplugin: oncevarNoel Grandin2015-11-095-19/+9
| | | | | | | Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:defaultparamsStephan Bergmann2015-11-081-2/+2
| | | | Change-Id: Ia4f51a3599afa6ffe7b689a8703a9634b4fb082d
* pptx: export inside/outside turning cube transition as p14:prismTomaž Vajngerl2015-11-081-12/+59
| | | | | | | | Add support for exporting p14 transitions with AlternativeContent fallback support. Export "inside/outside turning cube" transition as "prism" MSO transition with fallback to "fade" transition. Change-Id: I031d90f6465741847e1bda8991d45e7fed9e68e5
* pptx: inside/outside turning cube transition testTomaž Vajngerl2015-11-081-0/+5
| | | | Change-Id: Ida476a8e5a761c7721949b259b95184a88cc4e41