summaryrefslogtreecommitdiff
path: root/avmedia
AgeCommit message (Collapse)AuthorFilesLines
2015-10-14avmedia/quicktime: replace OSL_TRACE with SAL_INFODouglas Mencken3-18/+27
Change-Id: Ic001787cbb0b08242f74331c54a597103b8d2648 Reviewed-on: https://gerrit.libreoffice.org/19351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann27-323/+323
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12convert Link<> to typedNoel Grandin2-20/+15
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet1-1/+1
+ tweak files of other modules which needed it Change-Id: Ibb673eba6609734addd233ac1477698c01b94678 Reviewed-on: https://gerrit.libreoffice.org/19180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-02-Werror,-Wdeprecated-declarationsStephan Bergmann2-0/+6
Change-Id: I9ca369fb5dcb4210db6740eac577e9144b288005
2015-09-29tdf#94559: first step to remove rtti.hxxOliver Specht1-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>
2015-09-20convert Link<> to typedNoel Grandin2-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>
2015-09-14boost->stdCaolán McNamara2-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>
2015-09-08tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.Michael Meeks1-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>
2015-09-08tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks4-15/+16
gltf rendering, OpenGL canvas, GL transitions & GL capable (charts) Avoid GLX operations on un-initialized contexts. Change-Id: I7f523640f66ab656896181e5c865879234f6640e
2015-09-07tdf#93996 - throttle gltf rendering to let UI re-rendering get in.Michael Meeks1-1/+3
Change-Id: I4a61595294c24a609a5952ce72f9f88524969784
2015-09-07cppcheck: noExplicitConstructorCaolán McNamara1-2/+2
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-04convert Link<> to typedNoel Grandin2-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>
2015-08-28make PostUserEvent Link<> typedNoel Grandin1-5/+3
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-25make pWindow private in SfxChildWindowNoel Grandin1-2/+2
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
2015-08-25make eChildAlignment private in SfxChildWindowNoel Grandin1-1/+0
Change-Id: I68a4c3324736e111a2c88e3edb9df506c33042b7
2015-08-22tdf#93188 - avoid crash in media player.Michael Meeks1-1/+5
ToggleFloatingMode can be run during dispose, and should handle that, thanks to Maxim Monastirsky for the analysis. Change-Id: I72c5aff9b75fa2c1b6795e239370244dafdafae2
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann3-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
2015-08-18tdf#84323: Make osl::Condition::wait more readableStephan Bergmann2-5/+4
Change-Id: Icd66ae1d390100549f903d45b2896cdcdca449be
2015-08-11loplugin: defaultparamsNoel Grandin1-3/+3
Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
2015-08-04-Werror,-Wunused-private-fieldStephan Bergmann1-1/+0
Change-Id: I3f6c5b11830fcc581e662d2c000669ee80accaf5
2015-08-01std::function::operator bool returns true if it contains a valid targetDavid Ostrovsky2-2/+2
Change-Id: I8e65c0243094468dca06a1b30b5244bef931f8ac
2015-08-01std::function doesn't have empty() methodDavid Ostrovsky2-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
2015-07-31avmedia: replace boost::function with std::functionMichael Stahl2-5/+6
Change-Id: I813d42a1ab494e0887791516606fddd342e21ff0
2015-07-24loplugin:unusedmethodsNoel Grandin3-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>
2015-07-17com::sun::star->css in avmediaNoel Grandin5-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>
2015-07-17com::sun::uno->css in avmedia and animationsNoel Grandin31-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>
2015-07-13avmedia: add some missing license headers to vlc filesMichael Stahl7-1/+69
Change-Id: Ice9440bec7b0b5a4de2dca1392805130b1048303
2015-07-13avmedia: remove empty ThreadsafeQueue.cxxMichael Stahl2-6/+0
Change-Id: Icbaea4a55567ce3ab320518fd4a501216c4feb86
2015-07-06tdf#88206 Change uses of cppu::WeakImplHelper* etc.Takeshi Abe30-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>
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe1-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>
2015-06-13tdf#91960 presentation causes Impress crashNoel Grandin1-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>
2015-06-10tdf#90077 fix freeze when enabling media toolbar in ImpressNoel Grandin1-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>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann1-1/+1
Change-Id: I2c65b3bd52bc3d8c3dfb8d05c9dcc5d2a8484549
2015-06-04convert MediaState to scoped enumNoel Grandin3-11/+11
Change-Id: Idf14f7d344be6c690cdd721cd5f7eb7c328b590c
2015-05-28convert PARENTCLIPMODE constants to scoped enumNoel Grandin1-1/+1
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin1-1/+1
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-22loplugin:constantfunctionNoel Grandin2-9/+0
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
2015-05-22convert POINTER constants to scoped enumNoel Grandin1-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>
2015-05-21convert CVT constants to scoped enumNoel Grandin2-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>
2015-05-20Fix build for gcc 4.6.4.Thorsten Behrens1-1/+1
Change-Id: I59457bf90cf2f457cbbad70ae524af76ed1e89a4
2015-05-20Fix reporting missing GStreamer pluginsStephan Bergmann3-25/+201
Change-Id: I99b5994b53a5768b4c0aa8dbd6f54b13b23b333a
2015-05-18Remove include stdio (part2)Julien Nabet1-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>
2015-05-14refactor MediaWindow to use RenderContextTomaž Vajngerl2-325/+270
Change-Id: I6488e360ad51478c6305c4647255e61a80c64195
2015-05-13First cut at reporting missing GStreamer pluginsStephan Bergmann1-1/+61
Change-Id: Ia3cd8a2f0979f2312a70b8ee169fe9d6eef85c81
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann1-1/+1
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-09Remove unused create member functionsStephan Bergmann4-14/+0
Change-Id: I65c77f32e076a0bc5eae2c0cf4626eebfd141972
2015-05-09loplugin:staticmethodsStephan Bergmann2-2/+2
Change-Id: If3dd46119c043daa1498cbeebc9cef2b7b9cafe4
2015-05-09loplugin:implicitboolconversionStephan Bergmann1-1/+1
Change-Id: If9797eb74b624af7374effd73a8642a7d32efb1e
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann2-2/+2
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969