summaryrefslogtreecommitdiff
path: root/avmedia/source/vlc/wrapper/SymbolLoader.hxx
AgeCommit message (Collapse)Author
2020-12-25Remove vlc part since experimental since 5 yearsJulien Nabet
However considering git history about vlc part (see https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=vlc) it seems there's no real patch since 2013 + it's been explicitely indicated as experimental since 2015 See http://document-foundation-mail-archive.969070.n3.nabble.com/About-vcl-status-in-avmedia-keep-or-removed-unmaintained-code-since-7-years-tt4293282.html Of course if someone wants to keep on the work on it, it's always possible to revert the patch. Change-Id: Ia1602ea61b7ffa577148a80f974ebdcb71495fbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108283 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-09-07Use plain char osl_getAsciiFunctionSymbolStephan Bergmann
Change-Id: I932675efaeb1072602775115fc368bbba7bfd2b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102134 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-28Change OUStringLiteral from char[] to char16_t[]Stephan Bergmann
This is a prerequisite for making conversion from OUStringLiteral to OUString more efficient at least for C++20 (by replacing its internals with a constexpr- generated sal_uString-compatible layout with a SAL_STRING_STATIC_FLAG refCount, conditionally for C++20 for now). For a configure-wise bare-bones build on Linux, size reported by `du -bs instdir` grew by 118792 bytes from 1155636636 to 1155755428. In most places just a u"..." string literal prefix had to be added. In some places char const a[] = "..."; variables have been changed to char16_t, and a few places required even further changes to code (which prompted the addition of include/o3tl/string_view.hxx helper function o3tl::equalsIgnoreAsciiCase and the additional OUString::createFromAscii overload). For all uses of macros expanding to string literals, the relevant uses have been rewritten as u"" MACRO instead of changing the macro definitions. It should be possible to change at least some of those macro definitions (and drop the u"" from their call sites) in follow-up commits. Change-Id: Iec4ef1a057d412d22443312d40c6a8a290dc6144 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101483 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-16compact namespace: avmediaNoel Grandin
Change-Id: I3f8d9c689724c6f522933604cc8e9cb041585546 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98896 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-03-22tdf#124176: Use pragma once instead of include guardsFurkan Ahmet Kara
Change-Id: I24df5daa3ded43f1fa031a9e2714453cb03b92f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90769 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-01-25tdf#130137 Replace remaining uses of WNT define checks with _WIN32A_GAN
Change-Id: If95f1ea5a81de62eb4f725e5fcb30ccb8530062a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87372 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-11-08Fix Windows --eanble-vlc errors and (clang-cl) warningsStephan Bergmann
Fix "no matching constructor" for OUString( arCurrent, dwCurrentSize ) from wchar_t and loplugin:cstylecast, loplugin:nullptr, and loplugin:stringconstant warnings. Change-Id: Ibe0341afe14a8c0380a69e9cbf946e68f9c58391 Reviewed-on: https://gerrit.libreoffice.org/82264 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-06Avoid OUString::createFromAscii, use OUStringLiteral insteadStephan Bergmann
Change-Id: Ib337b9678f68d41319dda30f0ca7edba5dc7e7b0 Reviewed-on: https://gerrit.libreoffice.org/82155 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-09-18Some more WIN32_LEAN_AND_MEANMike Kaganski
Change-Id: Iadb0ebb66809c192fb817b8c7cf2f8cdb4d0b874 Reviewed-on: https://gerrit.libreoffice.org/42419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-12-21No apparent reason for an unnamed namespace in an include file hereStephan Bergmann
Change-Id: I5e9910d3b5ca070e34e7621a2d3009e5c6fc0586
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-10loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ib3f24439ffda42d217300dcc0ca979964ade360a
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-01-20Some more loplugin:cstylecast: avmediaStephan Bergmann
Change-Id: If60734acaa9743cc0cc6b366152bc3085f1f57e8
2014-12-12avmedia: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I1abbe02b6a449d61d6bed5a7659f81ec4cf985fe
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-12s/UNX/LINUX/, as that is what is meant hereTor Lillqvist
Change-Id: I6b58f6f62bc304b29c336fc46f87bce8d2ce22fe
2013-10-07Avmedia/VLC: Correct reading from the WINx86_64 registry for LO 32-bit.Minh Ngo
Change-Id: Ic98a179e5cfa34183e71a72bb417147612500a61 TODO: Unfortunately. Another cases must be checked later....
2013-09-23Avmedia/VLC: Debug infoMinh Ngo
Change-Id: Id36e189dc4666b1e17bd998f290a212070f0aede
2013-09-23Avmedia/VLC: Adding more debug infoMinh Ngo
Change-Id: I484050575da7e09e89a10f3a4e8d5fbe95f88044
2013-09-15Avmedia/VLC: Adding soname backMinh Ngo
Change-Id: I02580d7bdc460f58769cd74d1713aad7c3004590
2013-09-15Avmedia/VLC: Falling back to gstreamer if libvlc is not found.Minh Ngo
Change-Id: I8d4e3cded0fc8c26a27505b5d51806bbcdeecc93
2013-09-14Avmedia/VLC component code refactoring.Minh Ngo
Change-Id: Ibba5874e63356069d1af725d98980910dbaf8eb1
2013-09-04Fixing a crash when loading symbols from LibVLC.Minh Ngo
Change-Id: Ifb39dea6f0d2328d5658f34ca35d6d65445c38ef
2013-09-03Fix typos and make the VLC code in theory work as 64-bit on Windows and OS XTor Lillqvist
It's MACOSX, not MACOS. We can't cast a HWND or a pointer to an int and then back. Have the UNX/MACOSX/WNT branches in the same order each time, at least in Player.cxx. Change-Id: I1a71efc2152970952cf2f12f719fd4c455f89dba
2013-09-03Blind fix to make this perhaps actually workTor Lillqvist
Change-Id: If99b8f1bf55fe9acd12b9668bf8e8e4386aa44e7
2013-09-03Just use the wide char API and no TCHAR crack, puh-leaseTor Lillqvist
Change-Id: I12dc2d9d1c76e43d27b6aaf2ded6444a6aa3d365
2013-09-03Make --enable-vlc at least compile on WindowsStephan Bergmann
...no idea whether the changes are actually any good, though. Change-Id: I43965f6c10b572ee098bfacfa0995414a53af45f
2013-09-02Possible fixes encoding in the VLC library path.Minh Ngo
If it's in the UTF-8 encoding. Change-Id: I938341e0ae5851b1c5301cd11042f4056bbe8e05
2013-08-31Updating library path for VLC on Mac OSMinh Ngo
Change-Id: Iec1c02ec5a4d3c686b7f3b6e1cff76260fa97dab
2013-08-31Cross-platform libvlc loading.Minh Ngo
Conflicts: avmedia/source/vlc/wrapper/SymbolLoader.hxx Change-Id: I2dcd86329419255751925e93db0c893da191be31 Reviewed-on: https://gerrit.libreoffice.org/5627 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-08-25Linking symbols only once.Minh Ngo
If they were linked unsuccessfully a VLC instance won't be created. Some static functions and variables were encapsulated. Change-Id: I9d07ac9a73a6bd59928bcc349458ea346a26deb4
2013-08-22Fixing symbol loader. Returns true if successful. false otherwise.Minh Ngo
Change-Id: I58a5dd39c005841a5680440a52905596ae8679b2
2013-08-22Finding libvlc in Mac OS/Windows platformsMinh Ngo
Change-Id: I34cff74fa59161a5e97411000132ceff65cfff68
2013-08-21avmedia: vlc - add / cleanup license headers.Michael Meeks
Change-Id: Iac492b75a9646d5ddf0e8b123a27dc6ff6a0f6b8
2013-08-21VLC Player wrapperMinh Ngo
Change-Id: I507bbfb0426d003eca7cf0a3331128f8af1aee89
2013-08-21libvlc API symbol loader routinesMinh Ngo
Change-Id: I6800c7a75dbcdec53119f5f4da341aeb33c9d574