1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/client/widgets
Ivan Savenko 9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
..
markets Replaced public artType member of ArtifactInstance with getter 2024-10-30 16:47:01 +00:00
Buttons.cpp fix warning 2024-11-30 17:20:39 +01:00
Buttons.h allow double click for bonus selection 2024-09-06 00:22:59 +02:00
CArtifactsOfHeroAltar.cpp suggested changes 2024-10-28 21:58:35 +02:00
CArtifactsOfHeroAltar.h
CArtifactsOfHeroBackpack.cpp Replaced public artType member of ArtifactInstance with getter 2024-10-30 16:47:01 +00:00
CArtifactsOfHeroBackpack.h
CArtifactsOfHeroBase.cpp crash fix: dismiss hero when pick artifact 2024-11-26 01:11:09 +08:00
CArtifactsOfHeroBase.h suggested changes 2024-10-28 21:58:35 +02:00
CArtifactsOfHeroKingdom.cpp suggested changes 2024-10-28 21:58:35 +02:00
CArtifactsOfHeroKingdom.h
CArtifactsOfHeroMain.cpp crash fix: dismiss hero when pick artifact 2024-11-26 01:11:09 +08:00
CArtifactsOfHeroMain.h
CArtifactsOfHeroMarket.cpp crash fixed 2024-11-13 06:39:37 +02:00
CArtifactsOfHeroMarket.h suggested changes 2024-10-28 21:58:35 +02:00
CComponent.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
CComponent.h better UI 2024-09-28 02:34:18 +02:00
CComponentHolder.cpp CHeroOverview secondary skill icons fixed 2024-11-03 17:29:27 +02:00
CComponentHolder.h CSecSkillPlace done 2024-10-23 15:01:56 +03:00
CExchangeController.cpp Add extra clientside sanity check (should be there from thestart) 2024-12-03 21:03:25 +01:00
CExchangeController.h
CGarrisonInt.cpp fix popup 2024-11-21 23:12:27 +01:00
CGarrisonInt.h
ComboBox.cpp
ComboBox.h
CreatureCostBox.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
CreatureCostBox.h
CTextInput.cpp Moved fonts handling from Graphics to RenderHandler class 2024-09-23 15:43:11 +00:00
CTextInput.h add help text 2024-07-29 00:54:58 +02:00
GraphicalPrimitiveCanvas.cpp resource selection 2024-08-13 22:40:37 +02:00
GraphicalPrimitiveCanvas.h resource selection 2024-08-13 22:40:37 +02:00
Images.cpp Do not show selection highlight on creature preview images 2024-11-17 20:40:38 +00:00
Images.h Implemented generation of player-colored version of DiBoxBck 2024-09-12 21:22:41 +00:00
IVideoHolder.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
MiscWidgets.cpp Merge pull request #4852 from IvanSavenko/remove_vlc_entities_serialization 2024-11-06 22:01:11 +02:00
MiscWidgets.h moveChildForeground 2024-08-03 17:04:27 +03:00
ObjectLists.cpp better approach for scrollbar 2024-11-02 15:16:38 +01:00
ObjectLists.h
RadialMenu.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
RadialMenu.h
Scrollable.cpp
Scrollable.h
Slider.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
Slider.h Fix infinitely updating simultaneous turns slider 2024-08-02 12:20:14 +00:00
TextControls.cpp fix campaign video scrolling for short texts 2024-10-14 23:26:24 +02:00
TextControls.h fix campaign video scrolling for short texts 2024-10-14 23:26:24 +02:00
VideoWidget.cpp Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
VideoWidget.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00