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 Artifacts altar ctrl+click 2024-05-20 11:47:12 +03:00
CArtifactsOfHeroBackpack.cpp Replaced public artType member of ArtifactInstance with getter 2024-10-30 16:47:01 +00:00
CArtifactsOfHeroBackpack.h fixed missed trader text 2024-03-25 17:38:43 +02:00
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 Reset picked artifact on window deactivation 2024-04-11 23:52:37 +03:00
CArtifactsOfHeroMain.cpp crash fix: dismiss hero when pick artifact 2024-11-26 01:11:09 +08:00
CArtifactsOfHeroMain.h Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
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 CWindowWithArtifacts preparations 2024-04-23 16:06:58 +03:00
CGarrisonInt.cpp fix popup 2024-11-21 23:12:27 +01:00
CGarrisonInt.h Show option description on hovering 2023-07-21 15:47:42 +03:00
ComboBox.cpp Restore previously disabled functionality 2024-02-29 16:47:44 +02:00
ComboBox.h First version that works in lobby 2024-02-29 12:45:08 +01:00
CreatureCostBox.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
CreatureCostBox.h vcmi: massive refactoring v1 2023-04-05 22:33:12 +03:00
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 Reduce direct access to CAnimation, removed various caching schemes 2024-07-19 10:08:50 +00:00
RadialMenu.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
RadialMenu.h code review 2023-10-16 00:04:29 +02:00
Scrollable.cpp Renamed gesture-related methods, remove unused code 2023-06-20 19:58:05 +03:00
Scrollable.h Renamed gesture-related methods, remove unused code 2023-06-20 19:58:05 +03:00
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