aboutsummaryrefslogtreecommitdiff
path: root/src/util/pointer.h
AgeCommit message (Collapse)Author
2022-09-11Fix potential use-after-free with item metadata (#12729)Jude Melton-Houghton
This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected.
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2021-12-01Network: Delete copy constructor and use std::move instead (#11642)SmallJoker
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
2021-09-17Shave off buffer copies in networking code (#11607)sfan5
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-09-05Use a Buffer instead of SharedBuffer in ConnectionCommandLoic Blot
This fixes #6373
2017-08-25Network cleanup (#6310)Loïc Blot
* Move Connection threads to dedicated files + various cleanups * ConnectionReceiveThread::processPacket now uses function pointer table to route MT packet types * Various code style fixes * Code style with clang-format * Various SharedBuffer copy removal * SharedBuffer cannot be copied anymore using Buffer * Fix many SharedBuffer copy (thanks to delete operator)
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-10Remove superfluous pointer null checksQrchackOfficial
2017-06-05Remove SharedPtr, it's not used and will be never used, we use C++11Loic Blot
2015-08-06Fix BufferedPacket race condition (fixes #2983)kwolekr
This was caused by the use the non-threadsafe SharedBuffer in a threaded context.
2014-04-19Bunch of small fixes (coding style, very unlikely errors, warning messages)sapier
2013-11-11Fix win32/msvc i18n (quite UGLY version, blame Microsoft)sapier
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-11-26Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)Perttu Ahola
2012-06-17Optimize headersPerttu Ahola
2012-06-17Initially split utility.h to multiple files in util/Perttu Ahola