summaryrefslogtreecommitdiff
path: root/avmedia
AgeCommit message (Collapse)AuthorFilesLines
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
2015-05-08Rephrase comparisons between bool and sal_BoolStephan Bergmann1-1/+1
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I88c0c4681137022005c3a4c418e91cb17bc17148
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann2-4/+2
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl1-2/+2
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann4-8/+5
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann2-4/+2
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-03cppcheck: noExplicitConstructorCaolán McNamara13-18/+18
Change-Id: I4eb86c5a03b55e5946fe11848ca009f7ca112658
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl2-2/+2
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks9-182/+195
Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann1-0/+1
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-04-18Typo: thow->throwJulien Nabet1-1/+1
Change-Id: I3db188dbd7db19d69dc2683fac3e912d1aef8847
2015-04-16make CreateItemWindow return a VclPtr<>.Michael Meeks2-3/+3
Change-Id: Id15ff8900376aaee4343d7ee08ae062e1c462ce4
2015-04-16avmedia: convert new to ::Create to get initial ref-counting right.Michael Meeks4-12/+12
Change-Id: If7441005123ba1427d308b999af84b0c55a94a07
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin3-3/+3
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-13More lifecycle correction.Michael Meeks1-1/+1
Another (complete) audit of delete usage in: "vclwidget: change all vcl::window fields to be wrapped in VclPtr" Change-Id: I828212ded66ecc5cc30c75a4de626c7b386cb77a
2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks1-1/+1
Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
2015-04-10vclwidget: fixup locally allocated vcl::Window objectsNoel Grandin1-1/+1
They need to be wrapped in ScopedVclPtr in order to be disposed properly. Change-Id: Ib64dba353774f54711e4de7f5d15d859c6a4dc7e
2015-04-10nail more lifecycle oddness.Michael Meeks1-0/+1
Change-Id: Ibc29b488cf5077f1d5eb996a8d88dfd057de8266
2015-04-10mend misc. lifecycle breakage.Michael Meeks1-0/+2
Change-Id: I6e960db9659f5122a45c4cf173e680bb782acf76
2015-04-10clear() is the equivalent of assigning a local ptr to NULL.Michael Meeks1-1/+1
Sometimes it matters; doing a disposeAndClear() instead can change the order of destruction profoundly. Fix a number of issues from: "vclwidget: change all vcl::window fields to be wrapped in VclPtr" Change-Id: I3127d3ed973458e8299156453258e167dbdb8ccf