summaryrefslogtreecommitdiffstats
path: root/avmedia
Commit message (Collapse)AuthorAgeFilesLines
* tdf#94559: first step to remove rtti.hxxOliver Specht2015-09-291-1/+1
| | | | | | | | | | replaced use of PTR_CAST, IS_TYPE, ISA in avmedia, basctl, basic, cui, dbaccess, vcl,xmloff Change-Id: If4496762e82e896b6fbc362e6626502703c245f5 Reviewed-on: https://gerrit.libreoffice.org/18905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
* convert Link<> to typedNoel Grandin2015-09-202-17/+14
| | | | | | | Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* boost->stdCaolán McNamara2015-09-142-2/+1
| | | | | | | | 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>
* tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.Michael Meeks2015-09-081-0/+1
| | | | | | | | | | | | Previously we would get an explicit ~OpenGLContext - and potentially leave FMR's around for other OGC users, now we treat the other users properly - we need an explicit dispose() to get Window::dispose ordering right. Change-Id: I5edcbd73399b6db3dbcfb391570f364f9ab0c70d Reviewed-on: https://gerrit.libreoffice.org/18412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks2015-09-084-15/+16
| | | | | | | gltf rendering, OpenGL canvas, GL transitions & GL capable (charts) Avoid GLX operations on un-initialized contexts. Change-Id: I7f523640f66ab656896181e5c865879234f6640e
* tdf#93996 - throttle gltf rendering to let UI re-rendering get in.Michael Meeks2015-09-071-1/+3
| | | | Change-Id: I4a61595294c24a609a5952ce72f9f88524969784
* cppcheck: noExplicitConstructorCaolán McNamara2015-09-071-2/+2
| | | | Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
* convert Link<> to typedNoel Grandin2015-09-042-12/+6
| | | | | | | Change-Id: I4d6c37e82a5b96c09b989df248f94f0afe228b46 Reviewed-on: https://gerrit.libreoffice.org/18305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* make PostUserEvent Link<> typedNoel Grandin2015-08-281-5/+3
| | | | Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
* make pWindow private in SfxChildWindowNoel Grandin2015-08-251-2/+2
| | | | Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
* make eChildAlignment private in SfxChildWindowNoel Grandin2015-08-251-1/+0
| | | | Change-Id: I68a4c3324736e111a2c88e3edb9df506c33042b7
* tdf#93188 - avoid crash in media player.Michael Meeks2015-08-221-1/+5
| | | | | | | ToggleFloatingMode can be run during dispose, and should handle that, thanks to Maxim Monastirsky for the analysis. Change-Id: I72c5aff9b75fa2c1b6795e239370244dafdafae2
* Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann2015-08-193-6/+6
| | | | | | | | | | | together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
* tdf#84323: Make osl::Condition::wait more readableStephan Bergmann2015-08-182-5/+4
| | | | Change-Id: Icd66ae1d390100549f903d45b2896cdcdca449be
* loplugin: defaultparamsNoel Grandin2015-08-111-3/+3
| | | | Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
* -Werror,-Wunused-private-fieldStephan Bergmann2015-08-041-1/+0
| | | | Change-Id: I3f6c5b11830fcc581e662d2c000669ee80accaf5
* std::function::operator bool returns true if it contains a valid targetDavid Ostrovsky2015-08-012-2/+2
| | | | Change-Id: I8e65c0243094468dca06a1b30b5244bef931f8ac
* std::function doesn't have empty() methodDavid Ostrovsky2015-08-012-2/+2
| | | | | | | | | The correct way to perform the check for it in C++11 is to call std::function::operator bool. http://en.cppreference.com/w/cpp/utility/functional/function/operator_bool Change-Id: I4df8daaa758b4d5b382e340b90c4588a83ee11ce
* avmedia: replace boost::function with std::functionMichael Stahl2015-07-312-5/+6
| | | | Change-Id: I813d42a1ab494e0887791516606fddd342e21ff0
* loplugin:unusedmethodsNoel Grandin2015-07-243-13/+3
| | | | | | | Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a Reviewed-on: https://gerrit.libreoffice.org/17312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* com::sun::star->css in avmediaNoel Grandin2015-07-175-62/+59
| | | | | | | Change-Id: Iab0a96e929002c587f6fb7baa75ab206feede119 Reviewed-on: https://gerrit.libreoffice.org/17163 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* com::sun::uno->css in avmedia and animationsNoel Grandin2015-07-1731-470/+470
| | | | | | | Change-Id: Ie4365a488728c39fedacae7650b4b90260e7e44a Reviewed-on: https://gerrit.libreoffice.org/17153 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* avmedia: add some missing license headers to vlc filesMichael Stahl2015-07-137-1/+69
| | | | Change-Id: Ice9440bec7b0b5a4de2dca1392805130b1048303
* avmedia: remove empty ThreadsafeQueue.cxxMichael Stahl2015-07-132-6/+0
| | | | Change-Id: Icbaea4a55567ce3ab320518fd4a501216c4feb86
* tdf#88206 Change uses of cppu::WeakImplHelper* etc.Takeshi Abe2015-07-0630-77/+77
| | | | | | | | | to the variadic variants, in avmedia. Change-Id: I7fe65771ea5e0d30c7906d0d33acdcbe9e8aa3ff Reviewed-on: https://gerrit.libreoffice.org/16647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe2015-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#91960 presentation causes Impress crashNoel Grandin2015-06-131-1/+4
| | | | | | | | | | | The SystenChildWindow in question is owned by ViewMediaShape Fixed ViewMediaShape to dispose the vcl objects it creates correctly. Also fix another crash in MediaWindowImpl child window correctly disposing its children. Change-Id: If4aebcb6e5824266c154416f7246d73c6cb3509c Reviewed-on: https://gerrit.libreoffice.org/16230 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* tdf#90077 fix freeze when enabling media toolbar in ImpressNoel Grandin2015-06-101-1/+0
| | | | | | | Change-Id: I402bd7319d31859510a06644eb7dc786d56b312e Reviewed-on: https://gerrit.libreoffice.org/16213 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-081-1/+1
| | | | Change-Id: I2c65b3bd52bc3d8c3dfb8d05c9dcc5d2a8484549
* convert MediaState to scoped enumNoel Grandin2015-06-043-11/+11
| | | | Change-Id: Idf14f7d344be6c690cdd721cd5f7eb7c328b590c
* convert PARENTCLIPMODE constants to scoped enumNoel Grandin2015-05-281-1/+1
| | | | Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
* convert INVALIDATE constants to scoped enumNoel Grandin2015-05-261-1/+1
| | | | | | | fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
* loplugin:constantfunctionNoel Grandin2015-05-222-9/+0
| | | | Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
* convert POINTER constants to scoped enumNoel Grandin2015-05-221-4/+4
| | | | | | | Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19 Reviewed-on: https://gerrit.libreoffice.org/15825 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* convert CVT constants to scoped enumNoel Grandin2015-05-212-2/+2
| | | | | | | Change-Id: I7703816b6a1df2bf24c06cdf9992f9982ae724e8 Reviewed-on: https://gerrit.libreoffice.org/15826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix build for gcc 4.6.4.Thorsten Behrens2015-05-201-1/+1
| | | | Change-Id: I59457bf90cf2f457cbbad70ae524af76ed1e89a4
* Fix reporting missing GStreamer pluginsStephan Bergmann2015-05-203-25/+201
| | | | Change-Id: I99b5994b53a5768b4c0aa8dbd6f54b13b23b333a
* Remove include stdio (part2)Julien Nabet2015-05-181-2/+0
| | | | | | | Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* refactor MediaWindow to use RenderContextTomaž Vajngerl2015-05-142-325/+270
| | | | Change-Id: I6488e360ad51478c6305c4647255e61a80c64195
* First cut at reporting missing GStreamer pluginsStephan Bergmann2015-05-131-1/+61
| | | | Change-Id: Ia3cd8a2f0979f2312a70b8ee169fe9d6eef85c81
* NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann2015-05-101-1/+1
| | | | Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
* Remove unused create member functionsStephan Bergmann2015-05-094-14/+0
| | | | Change-Id: I65c77f32e076a0bc5eae2c0cf4626eebfd141972
* loplugin:staticmethodsStephan Bergmann2015-05-092-2/+2
| | | | Change-Id: If3dd46119c043daa1498cbeebc9cef2b7b9cafe4
* loplugin:implicitboolconversionStephan Bergmann2015-05-091-1/+1
| | | | Change-Id: If9797eb74b624af7374effd73a8642a7d32efb1e
* lopluign:staticmethods: Handle DECL_LINKStephan Bergmann2015-05-082-2/+2
| | | | Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
* Rephrase comparisons between bool and sal_BoolStephan Bergmann2015-05-081-1/+1
| | | | | | ...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I88c0c4681137022005c3a4c418e91cb17bc17148
* Use various typed ToolBox::Set*Hdl LinksStephan Bergmann2015-05-062-4/+2
| | | | Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
* vcl: rename other members of StateChangedType for consistencyMichael Stahl2015-05-051-2/+2
| | | | Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
* Use typed Idle::SetIdleHdl LinkStephan Bergmann2015-05-054-8/+5
| | | | Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
* Use typed Timer::SetTimeoutHdl LinkStephan Bergmann2015-05-052-4/+2
| | | | Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100