Commit Graph

1429 Commits

Author SHA1 Message Date
59b072e22b yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04 14:10:44 +02:00
dc3fca8483 Mac fix
Change-Id: Ib44f84ae028a73dd1940797acdadaff1e3c206d9
2015-10-30 13:25:31 +01:00
76cfcea672 The fglrx driver is an X11 only thing
It means "FireGL and Radeon for X".

Change-Id: I188fa03a113d9977a7a240bc0fc9f6dc9be054b8
2015-10-30 13:42:47 +02:00
3bc5df7f32 UNO: no need to use OUString constructor when calling createInstance
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526
Reviewed-on: https://gerrit.libreoffice.org/19682
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30 08:59:59 +00:00
6e2736705d coverity#1332210 Uninitialized scalar field
Change-Id: I9f62e3f9d2bb517ad8f40400004670de1c4d06a5
2015-10-30 08:13:26 +00:00
c7e8f21a53 loplugin:unusedmethods
Change-Id: Id3b5cd75d4357336ed592ef11a3f34d209f8e95f
Reviewed-on: https://gerrit.libreoffice.org/19636
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30 05:58:41 +00:00
e195b2ec95 com::sun::star->css in slideshow
Change-Id: I7ae3c5198c22a3937e8c3ef87f48fa2a7e562c62
Reviewed-on: https://gerrit.libreoffice.org/19664
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29 10:24:23 +00:00
973a4086d7 Remove initial :: from sal_* types
Change-Id: Idcdc9aeb7d3fdca0a9db43c1cb518ab1d1b2f0f4
2015-10-27 15:42:54 +02:00
f157d0fa9d WaE: unused parameters
Change-Id: I4273a4ddc00d24f561cce6a21b5237d4dfc56a92
2015-10-27 14:42:52 +02:00
30cdd16cbf Initial work on a "Vortex" transition
The actual transition is not yet at all like the one in the competing
product. But some basic ideas are in place.

Change-Id: Ie17a4fe03ae93abe51a2f1f760f417ee4b193e2c
2015-10-27 14:39:48 +02:00
191cbcc173 Drop some 'using', the std:: is not that ugly
Change-Id: If26ae80278dc55d5bf9fa644763e653c69415597
2015-10-26 11:12:34 +02:00
c59d726976 Use std::shared_ptr instead of boost
Change-Id: Id1b48f190831bbd4cc75d0d9e315e5b2b491d595
2015-10-26 11:09:36 +02:00
25e777f92f Simplify ifdefs
Change-Id: I5c3835f6fdc215e5d9dc1b8146c12e0d1a57da7c
2015-10-26 10:45:47 +02:00
42e2b43715 Use same order in this switch, too, as above
Change-Id: Icbe775e59d66efbb994a73c00024f9f7750f9ef0
2015-10-22 16:01:25 +03:00
e6cf271f13 Add a bit of explanatory comment
Also, sort the cases in the switch in numeric order for clarity.

Change-Id: Ic32da29a78b3aeedf22ee5f646a0975e4cbcb9cc
2015-10-22 15:21:11 +03:00
9bfe1d13c0 No, it isn't
Change-Id: I0236ff718ec9c3ee8d5845a044d65c927a896879
2015-10-21 11:33:53 +03:00
7e5bada554 slideshow: remove unecessary boost/bind includes
All of the remaining includes of boost/bind.hpp may be removed from
slideshow, as last remaining uses of boost::bind have been removed from
the module. There should be no side effects due to this change.

Change-Id: I4e1855545fad69d09e594d0be139c09aad561b2d
Reviewed-on: https://gerrit.libreoffice.org/19395
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-19 06:52:58 +00:00
90d82f73b8 loplugin:unreffun
Change-Id: If9ca3e2d88d1b0dee57531ed954ba4895fb37fe3
2015-10-15 08:48:45 +02:00
39c7826c81 tdf#93243 slideshow: boost::bind -> C++11 lambdas
Replace boost::bind with C++11 lambdas. In addition, replace the use of
FuncT::result_type in ListenerOperations::notifyAllListeners with a less
type specific means of determining the return type of the function to be
applied in order to allow for the use of C++11 lambdas.

Change-Id: I1035be976e542d8b5bbd451c473a896d91ed66ca
Reviewed-on: https://gerrit.libreoffice.org/19314
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15 06:23:24 +00:00
4038b27a0b tdf#93243 slideshow: boost::bind -> C++11 lambdas
Replace boost::bind with C++11 lambdas

Change-Id: I37e769c88d997eaecf46c07e510cef6a30fbce8e
Reviewed-on: https://gerrit.libreoffice.org/19334
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-13 08:05:18 +00:00
ed7361ef0b cppcheck:variableScope
Change-Id: I7cbd5a9e9bb5417f754d4e2445df309140fd40af
Reviewed-on: https://gerrit.libreoffice.org/19329
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-13 06:22:33 +00:00
b36963c0a6 Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
91e0161dc5 tdf#93243 slideshow: replace boost::bind
Replace boost::bind with C++11 lambdas

Change-Id: I13c500d085e6b8e80b2c067139db4ed0fffb2c71
Reviewed-on: https://gerrit.libreoffice.org/19299
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-11 06:15:35 +00:00
b629728085 Replace simple while loops with range-based for
Replace simple while loops with range-based for-loops when apropriate.
There should be no side effects due to this change.

Change-Id: I0c39d4c10c991354248e864a09333144974c953c
Reviewed-on: https://gerrit.libreoffice.org/19281
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-11 06:13:15 +00:00
6e8f1a3bd1 slideshow: replace for_each with range-based for
Replace ::std::for_each for a more readable range-based for loop in
cases in which the function object to be applied by for_each is more
readable as the body of a for loop.

Change-Id: I5798293cdd0d784cc4c95c67e3fc6a0b930db8bb
Reviewed-on: https://gerrit.libreoffice.org/19261
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-09 07:09:22 +00:00
862bd36439 tdf#94222: Revert "slideshow: replace for_each with range-based loop"
This reverts commit ead5bc3cfb07a4e96e367e7904dc674ee5f5ccd6.

Change-Id: Icc2778cf904a71c4deaff4575d0de231acfc1335
2015-10-08 15:35:47 +02:00
d68a0fc050 loplugin:unusedmethods
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c
Reviewed-on: https://gerrit.libreoffice.org/19072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-02 06:20:35 +00:00
f45ac62a20 Fix typos
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c
Reviewed-on: https://gerrit.libreoffice.org/18977
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:34:17 +00:00
c50eb68af3 Renamed wrongly prefixed boolean variables
Fixed tdf#94269

Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29 18:33:40 +00:00
4c657f5a1a Properly #if these debug hooks
...moved here with 6fbab2ce87372bd98275d8239cd782d0ca6375e8 "loplugin:unreffun";
this file still indirectly includes boost/scoped_ptr.hpp via. boost/spirit

Change-Id: Ib2f251420950395f58415c1f7c944b7e8fd61476
2015-09-21 12:07:42 +02:00
6fbab2ce87 loplugin:unreffun
Change-Id: I526b9e1cff25a30c3f6b935c1a11ef571f7a12ea
2015-09-21 10:31:39 +02:00
64144c28fe boost->std
Change-Id: I787ff19fd41d5ecee56efa1aa7ee539f46650703
Reviewed-on: https://gerrit.libreoffice.org/18703
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-21 08:11:17 +00:00
afce2eee1d slideshow: fix mysterious crash with the gtk3 vclplug
For some reason with gtk3 events are handled a bit differently, and in
particular after the PresenterSlideShowView::Resize() sets the
mbIsForcedPaintPending = true, with gtk2 we get a
notifySlideAnimationsEnded event and then a notifyViewChanged event that
calls PresenterSlideShowView::clear() to reset the flag,
but with gtk3 the flag isn't reset and then
PresenterSlideShowView::ForceRepaint() destroys the SlideView,
while there are still events in the EventQueue with pointers to it.

Since i'm evidently too dumb to tell what of this event handling is
working correctly and what is buggy, avoid the crash by checking
that the SlideView is still alive in the event handlers.

Change-Id: Ib88e61536c21e9787cef8a436341bfbd89914f4b
2015-09-16 22:13:42 +02:00
625d83e430 tdf#94006 - need an explicit dispose for slideshow's GLContext.
Fixes crasher exiting slideshow.

Change-Id: I14b6a2c1abc946f590bf91cab19099753172fd95
2015-09-16 03:12:16 +01:00
22b80ac8e2 boost->std
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c
Reviewed-on: https://gerrit.libreoffice.org/18564
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-14 12:54:25 +00:00
35fd0cf311 cppcheck: noExplicitConstructor
Change-Id: I39194062ba68c4cb1ccc9b93c629f005ccd02497
2015-09-13 22:42:35 +01:00
c5e3cf0f17 tdf#94031 - slideshow: bind correct GL context for prepareEnvironment
Change-Id: Ib139e81f770531f7d808764dd3a77c7ac8d6fa3c
2015-09-11 17:43:07 +01:00
d39630bb68 OpenGL: use CHECK_GL_ERROR() only when a context is bound.
Change-Id: I2cdc14defe5c4bd95776206df65fd57589d40429
2015-09-08 21:56:15 +01:00
a37d3b1c5c OpenGL: use CHECK_GL_ERROR() only when a context is bound.
Removes a large number of spurious GL errors left & right.

Change-Id: I0b5639478812982b39d3b88be2600dad5d3f1fd0
2015-09-08 21:27:29 +01:00
56900a441d tdf#94006 - fix OpenGLContext mis-use in several places.
gltf rendering, OpenGL canvas, GL transitions & GL capable (charts)
Avoid GLX operations on un-initialized contexts.

Change-Id: I7f523640f66ab656896181e5c865879234f6640e
2015-09-08 13:04:02 +01:00
ca7bab0561 slideshow: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants.

Change-Id: I3160235d0e6253626a8facbfed33e3c252505cbf
Reviewed-on: https://gerrit.libreoffice.org/18336
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-07 07:37:07 +00:00
6900bf41e2 o3tl/cow_wrapper: remove boost dependency
Remove boost dependencies from ::o3tl::cow_wrapper, and add
the necessary includes to files including checked_delete and
noncopyable that do not already include the necessary files.

Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686
Reviewed-on: https://gerrit.libreoffice.org/18125
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-29 22:51:36 +00:00
ead5bc3cfb slideshow: replace for_each with range-based loop
Replace ::std::for_each for a more readable range-based for loop in
cases in which the function object to be applied by for_each is more
readable as the body of a for loop.

Change-Id: Ib0b488b36ed58c65c56357e04391b85096d043aa
Reviewed-on: https://gerrit.libreoffice.org/17930
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-24 21:20:13 +00:00
7d769f9df5 loplugin: defaultparams
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
2015-08-20 13:52:17 +02:00
a811d6efe4 slideshow: replace for_each with range-based for
Replace ::std::for_each for a more readable range-based for loop in
cases in which the function object to be applied by for_each is more
readable as the body of a for loop. In addition, replace while loops
with range-based for loops when possible and complex implementations
of boost::bind with lambda expressions.

Change-Id: I6adfb18197bd1b8627719adfca2e4c36d58a0e05
Reviewed-on: https://gerrit.libreoffice.org/17786
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-17 16:22:31 +00:00
1e4b29e1ad Range-based for-loops.
Change-Id: I6fb0d182dfccb3af42f0bbc60969c72df09b6ce6
2015-08-12 06:48:43 +02:00
2c587f08ed slideshow: prefer value_type over manual type generation
Change-Id: I3e088a10e7bc0da73e4fa20db15e71581661fe4b
Reviewed-on: https://gerrit.libreoffice.org/17641
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-11 09:17:16 +00:00
ff265a5f9b loplugin:unreffun
Change-Id: I130b4f1eca4cf07f17aac995c4a44a8fdf51a4df
2015-08-11 11:15:50 +02:00
28564f96e8 loplugin:cstylecast
Change-Id: Ie44d7b031b16647457cf08dc944526c720360f9d
2015-08-11 09:30:00 +02:00
7151a2a9ca -Werror,-Winconsistent-missing-override
Change-Id: I3597b5d5cd54e6ff5398bdb5075b9fa03f9b5819
2015-08-11 09:25:53 +02:00