summaryrefslogtreecommitdiffstats
path: root/avmedia
Commit message (Collapse)AuthorAgeFilesLines
* Use Get/SetWindowLongPtr, for 64-bit buildStephan Bergmann2015-11-281-2/+2
| | | | Change-Id: I3041d93f98e491e4600da78a0d1f6100be1177a7
* -Werror,-WreorderStephan Bergmann2015-11-281-3/+3
| | | | Change-Id: I202fee919179c89101a7f2b8a802e14254d768e2
* Use Get/SetWindowLongPtr, for 64-bit buildStephan Bergmann2015-11-281-2/+2
| | | | Change-Id: I6d763369aa0c142ec0b0b9fb08aeb212eaae7f2f
* -Werror,-Wint-to-pointer-castStephan Bergmann2015-11-284-19/+27
| | | | Change-Id: Iec98a5a3df5dcfcd3fcf658bf27e9b5fe57ffc44
* other #includes should be AFTER the include-once #defineNoel Grandin2015-11-171-2/+2
| | | | | | | | | | | | found with the following script: git ls-files *.hxx | xargs perl -0777 -ne 'if (/include.* .* .* "; close ARGV }' Change-Id: I3afb0e81eb315c34bc0eb6bb4733dd1f0537d5c0
* Don't assume sal_Unicode is unsigned shortStephan Bergmann2015-11-174-4/+4
| | | | Change-Id: I7fcaa4e86f264182db7f4e46c2388402f801531a
* use initialiser list for Sequence<OUString>Noel Grandin2015-11-164-9/+4
| | | | | | | Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-1511-22/+11
| | | | | | | | | | | | 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-151-2/+1
| | | | | | | | | | | | | 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 syntax for Sequence<OUString>Noel Grandin2015-11-159-18/+9
| | | | | | | | | | | | | | 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>
* Bin mesa_headers completelyTor Lillqvist2015-11-122-2/+0
| | | | | | We don't need them in a MSVC or OS X compilation either. Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
* Avoid mesa_headers on X11, also link with -lGL only where necesssaryTor Lillqvist2015-11-122-2/+2
| | | | | | | | | | | | The GLEW headers are enough, and what we actually use in these places. In addition to handling GL extension things in its dynamic fashion, GLEW headers also have declarations for standard, non-extension, OpenGL API, including xgl and wgl ones. Most likely we don't need mesa_headers on Windows or OS X either, and can drop them completely. Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
* 5th step to remove tools/rtti.hxxOliver Specht2015-11-111-1/+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:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann2015-11-106-13/+13
| | | | Change-Id: Ib50c9415e1ddd0e6cabc1b737a39a7d101014da9
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-1022-68/+68
| | | | Change-Id: Ib3f24439ffda42d217300dcc0ca979964ade360a
* new loplugin: oncevarNoel Grandin2015-11-092-5/+2
| | | | | | | Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-061-1/+1
| | | | Change-Id: I154cad87f3015783726ea8f533f79bdbc3efc0a0
* loplugin:stringconstantStephan Bergmann2015-11-041-1/+1
| | | | Change-Id: I182d3b11e7b216f5bdd4d0a850f6a21a100425ef
* yyyyyNoel Grandin2015-11-041-1/+1
| | | | Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
* use uno::Reference::set method instead of assignmentNoel Grandin2015-10-3015-18/+18
| | | | Change-Id: I58410209f32f988f258a588364e0b037c2790211
* Replace boost::bind by lambdas in avmedia tree.Mario J. Rugiero2015-10-252-4/+2
| | | | | | | Change-Id: I0072ba9972a6c4d1565b1d3826202ff11f0c335d Reviewed-on: https://gerrit.libreoffice.org/19582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Improve awkward dialog titleAdolfo Jayme Barrientos2015-10-211-1/+1
| | | | | | | | Please never use the word “dialog” in a dialog’s title. It’s obvious. This string has led to confused translations. Change-Id: Id55d45a48630e5f3d3f01d4eee87240f9907a803
* avmedia/quicktime: replace OSL_TRACE with SAL_INFODouglas Mencken2015-10-143-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>
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1227-323/+323
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* convert Link<> to typedNoel Grandin2015-10-122-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>
* Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet2015-10-071-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>
* -Werror,-Wdeprecated-declarationsStephan Bergmann2015-10-022-0/+6
| | | | Change-Id: I9ca369fb5dcb4210db6740eac577e9144b288005
* 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