summaryrefslogtreecommitdiffstats
path: root/slideshow
Commit message (Collapse)AuthorAgeFilesLines
* some OSL_FAIL to SAL_WARNCaolán McNamara2017-03-097-38/+15
| | | | Change-Id: I5101e42b7a34cca9055fc805d9a392ba4f920a3d
* show the last gif frame when the animation endsCaolán McNamara2017-03-081-3/+6
| | | | Change-Id: I240d0a46cff905edababbd13fe7e58c9e4d0f0db
* loplugin:loopvartoosmallStephan Bergmann2017-03-081-2/+1
| | | | Change-Id: Ib8737f1690c738016fcdc1f365b744fcb567ce57
* Remove redundant 'inline' keywordStephan Bergmann2017-03-031-1/+1
| | | | | | | | | | ...from function definitions occurring within class definitions. Done with a rewriting Clang plugin (to be pushed later). Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8 Reviewed-on: https://gerrit.libreoffice.org/34874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* new loplugin unoanyNoel Grandin2017-02-282-7/+7
| | | | | | | Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:subtlezeroinit: slideshowStephan Bergmann2017-02-211-1/+1
| | | | Change-Id: I1280b51f42c21d15c76ea54a11c7a5a72930d566
* convert AttributeType to scoped enumNoel Grandin2017-02-153-200/+181
| | | | | | and drop unused CHAR_ROTATION enumerator Change-Id: I9ca50aef41fa736c7f34c210844fb54f60f5bca8
* convert DocTreeNode::NodeType to scoped enumNoel Grandin2017-02-157-51/+31
| | | | | | and drop unused enumerators Change-Id: I0b9220cc2a70847ee43b63accec5bede3dbb99fa
* drop CycleMode enumNoel Grandin2017-02-157-67/+14
| | | | | | since we only ever used the CYCLE_LOOP enumerator Change-Id: I181be1e1bba7f72f64420ab22e119d2bffad2d37
* convert ReverseMethod to scoped enumNoel Grandin2017-02-153-201/+183
| | | | | | | | and drop unused enumerators REVERSEMETHOD_INVERT_SWEEP REVERSEMETHOD_SUBTRACT_POLYGON Change-Id: I11b52d4b32e5f766dfa3bcd69b9c636f4106b7b4
* BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE has been defined forever in these filesTor Lillqvist2017-02-141-10/+1
| | | | Change-Id: I0afa1b404192f44540aa318e748452e0328fac6b
* Add missing #includesStephan Bergmann2017-02-062-0/+4
| | | | | | | | | ...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
* new loplugin:unusedenumconstantsNoel Grandin2017-02-031-1/+2
| | | | | | | | | | These are the simple removals, where it is obviously safe, the more complex ones will come in separate commits Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308 Reviewed-on: https://gerrit.libreoffice.org/33828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* teach lolugin:stringconstant about calling constructorsNoel Grandin2017-01-312-2/+2
| | | | | | | | | | | so we can remove unnecessary calls to the OUString(literal) constructor when calling constructors like this: Foo(OUString("xxx"), 1) Change-Id: I1de60ef561437c86b27dc9cb095a5deb2e103b36 Reviewed-on: https://gerrit.libreoffice.org/33698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove dynamic exception specificationsStephan Bergmann2017-01-265-112/+65
| | | | | | | | | | | | | | | | | | | | | | | | | ...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin: unnecessary destructor sfx2..storeNoel Grandin2017-01-254-11/+0
| | | | | | | Change-Id: Idbf2585e48cd89a43ab68c5c8819880d20461ccf Reviewed-on: https://gerrit.libreoffice.org/33514 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Change all Idle* LINKs to be Timer*Jan-Marek Glogowski2017-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Seem UBSAN doesn't like my forced reinterpret_cast to set the Idles Link in the Timer class. Now there are two possible solution: 1. convert all (DECL|IMPL).*_LINK call sites to use a Timer* or 2. split the inheritance of Idle from Timer again to maintain different Link<>s and move all common code into a TimerBase. While the 1st is more correct, the 2nd has a better indicator for Idles. This implements the first solution. And while at it, this also converts all call sites of SetTimeoutHdl and SetIdleHdl to SetInvokeHandler and gets rid of some local Link objects, which are just passed to the SetInvokeHandler call. It also introduces ClearInvokeHandler() and replaces the respective call sites of SetInvokeHandler( Link<Timer *, void>() ). Change-Id: I40c4167b1493997b7f136add4dad2f4ff5504b69
* remove SunStudio hacksMichael Stahl2017-01-171-14/+0
| | | | | | There is no "SOLARIS compiler". Change-Id: Idcfaee36307b1a4112f7fd6702c5f0e528f812c8
* replace #ifdef SOLARIS with #ifdef __sunMichael Stahl2017-01-171-1/+1
| | | | | | | Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
* silence coverity#1371305 Missing move assignment operatorCaolán McNamara2017-01-121-20/+19
| | | | Change-Id: I761e07d1583262d83074addbff4ca67b01640387
* no point in having both SAL_WARN and OSL_FAIL for the same thingNoel Grandin2016-12-151-4/+0
| | | | | | | Change-Id: I1beafff257e968a62184f8b1d8cf2a3a24e7c945 Reviewed-on: https://gerrit.libreoffice.org/32039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* teach sallogareas plugin to catch inconsistenciesNoel Grandin2016-12-152-2/+2
| | | | | | | Change-Id: I8bcea5ffc74d48148bea78da8c17744e288c069a Reviewed-on: https://gerrit.libreoffice.org/32004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* post glew->epoxy, we don't need to link to win openg32 and mac OpenGLCaolán McNamara2016-12-131-18/+0
| | | | | | | Change-Id: Iadc373961dcca788b1174ee71cb386979ce064ed Reviewed-on: https://gerrit.libreoffice.org/31954 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* gtk3: implement opengl support for slideshowCaolán McNamara2016-12-133-43/+46
| | | | | | | | | | all of them work, except "Fall" doesn't look right, but it has the exact same problem under gtk2/gen to. Change-Id: I73cb9c0fb8211f727198be78d90d4f80a4f8c7c8 Reviewed-on: https://gerrit.libreoffice.org/31214 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* change from glew to epoxyCaolán McNamara2016-12-135-13/+3
| | | | | | | | | | because that works under wayland out of the box and gtk3 uses it already Change-Id: Iefaac31e325534a81a5389f752804af917c1baef Reviewed-on: https://gerrit.libreoffice.org/31213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* OSL_TRACE -> SAL in sfx2..svxNoel Grandin2016-12-1111-77/+55
| | | | | | | Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e Reviewed-on: https://gerrit.libreoffice.org/31799 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert DecodeMechanism to scoped enumNoel Grandin2016-12-052-2/+2
| | | | Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
* getVerticesSize got renamed to getVerticesByteSizeCaolán McNamara2016-12-051-1/+1
| | | | Change-Id: I7eff6eeb92aede6beb4412aa3e574ae75d651d8b
* rework diamond transition to use only opengl coreCaolán McNamara2016-12-051-8/+18
| | | | | | | | | | cause that's all we've got in gtk3 Change-Id: I6a47e344ccd39ba63e7a51ae18f89bb05bb642c4 Reviewed-on: https://gerrit.libreoffice.org/31496 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:unnecessaryoverride (dtors) in slideshowStephan Bergmann2016-12-052-8/+2
| | | | Change-Id: I5c4bc26bc51347e453ce69913edc52cf1f1aa821
* warning C4018: '<' : signed/unsigned mismatchStephan Bergmann2016-12-021-1/+1
| | | | Change-Id: I5e6a6debf01886c283f5a2d6b9cacc00a44f7134
* get vertices count without jumping through hoopsDavid Tardon2016-12-022-2/+8
| | | | Change-Id: I0cab6b2f9fffc8cf9fc5059b8dc48fa9407e42b5
* rename to avoid further misunderstandingsDavid Tardon2016-12-022-3/+3
| | | | Change-Id: Ibcfae1b3ec118d74921312a80eb56c97c623f4a9
* coverity#1371200 Missing move assignment operatorCaolán McNamara2016-12-024-49/+48
| | | | | | adjust things to not need one Change-Id: I1079f50d8813f86c4828be602687b4cbffe61415
* glDrawArrays takes num of indices, not size of storageCaolán McNamara2016-11-301-1/+1
| | | | | | | this stops the strange missing corner seen during the diamond transition Change-Id: If806a0a3303eb38644bb6d3a479cadbd5fe9ca25
* Delete the "Any-to-Any" template specializations for LIBO_INTERNAL_ONLYStephan Bergmann2016-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | i.e., css::uno::Any function template specializations Any::has<Any>() const Any::get(Any const &) const operator >>=(Any const &, Any &) operator <<=(Any &, Any const &) that don't make much sense (the first is always true, the rest can be replaced with operator =, which additionally supports move semantics). For 3rd-party compatibility, do this only for LIBO_INTERNAL_ONLY, however. However, some generic template code did benefit from operator >>= working also for Any, so make up for that with a new (LIBO_INTERNAL_ONLY, given that operator >>= still covers if fine for !LIBO_INTERNAL_ONLY) fromAny, complementing the existing toAny. Change-Id: I8b1b5f803f0b909808159916366d53c948206a88 Reviewed-on: https://gerrit.libreoffice.org/30022 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:unusedfieldsNoel Grandin2016-11-171-22/+0
| | | | | | | Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unnecessaryvirtual in sfx2..svtoolsNoel Grandin2016-11-074-22/+8
| | | | | | | Change-Id: Ib34e14806f7cc9a97ecfd68687ab17ee5c1f022b Reviewed-on: https://gerrit.libreoffice.org/30652 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#103696 ensure glm always uses radiansDavid Tardon2016-11-061-0/+4
| | | | | | | This is set just locally for OGLTrans, because I have no idea what the other places that use glm expect... Change-Id: I83675ef2463ab945cb3d6885f803dcbae60a5558
* fix doc comment to match codeDavid Tardon2016-10-311-2/+2
| | | | | | This has been wrong since the initial commit... Change-Id: I271375ba10c37aa9b198476955d66af9fc019e27
* convert angle from degrees to radians for glmDavid Tardon2016-10-311-3/+5
| | | | | | | This makes simple (i.e., not implemented as a shader) OpenGL transitions work correctly again. Change-Id: I773f686089bce3611940743b1a7f5046093886e8
* loplugin:expandablemethods in slideshowNoel Grandin2016-10-272-26/+4
| | | | Change-Id: I3a7207e0566bc4b871b364da3180ce67e1099de8
* rename dir to follow suitDavid Tardon2016-10-257-4/+4
| | | | Change-Id: I894e6a089e99ed6cec3a970ffa0cce9cbd9a9e1a
* remove unnecessary dir and name prefixDavid Tardon2016-10-256-7/+7
| | | | Change-Id: I57b8d8b187fe7b8a99f2f90d696cd8c97b8a07b6
* merge duplicate source file listsDavid Tardon2016-10-251-17/+8
| | | | Change-Id: I55c746c92a6803a67e7129c43d2acd94aa7cbf8e
* loplugin:countusersofdefaultparams in sd..slideshowNoel Grandin2016-10-242-2/+2
| | | | Change-Id: Iaf10935d8f231676333018a5954d97defe35acf6
* loplugin:expandablemethodds in sfx2..starmathNoel Grandin2016-10-205-22/+5
| | | | | | | Change-Id: Ia4c411f5a9a68c2f344188ce6b6bc1815c89f993 Reviewed-on: https://gerrit.libreoffice.org/30055 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* InfoFont/Color is not used by vcl nowCaolán McNamara2016-10-051-1/+1
| | | | | | | | | | anywhere anyone wanted to Get[Font|Color] give it the Label ones instead. why this is exposed through uno is bewildering, stubbed those out for the moment Change-Id: I7a31d027287436be1c075c76a370047efd010bf3
* convert MapUnit to scoped enumNoel Grandin2016-10-051-2/+2
| | | | | | | | | | | | I left a prefix on the names "Map" so that I would not have to re-arrange each name too much, since I can't start identifiers with digits like "100thMM" And remove RSC_EXTRAMAPUNIT, which doesn't seem to be doing anything anymore. Change-Id: I5187824aa87e30caf5357b51b5384b5ab919d224 Reviewed-on: https://gerrit.libreoffice.org/29096 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann2016-10-051-2/+2
| | | | | | | | | ...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c