aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions.h
AgeCommit message (Collapse)Author
2021-01-22Remove dead code (#10845)rubenwardy
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-16C++11 patchset 9: move hardcoded init parameters to class definitions (part ↵Loïc Blot
1) (#5984) * C++11 patchset 9: move hardcoded init parameters to class definitions C++11 introduced the possibility to define the default values directly in class definitions, do it on current code Also remove some unused attributes * CollisionInfo::bouncy * collisionMoveResult::collides_xy * collisionMoveResult::standing_on_unloaded * Clouds::speed * More constructor cleanups + some variables removal * remove only write guiFormSpecMenu::m_old_tooltip * move header included inside defintions in genericobject.h * remove some unused since years exception classes * remove unused & empty debug_stacks_init * remove unused & empty content_nodemeta_serialize_legacy * remove forgotten useless bool (bouncy) in collision.cpp code
2017-04-19Fix various copy instead of const ref reported by cppcheck (#5615)Loïc Blot
* Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
2016-05-17Implement DatabaseException for databasesnerzhul
2015-10-31Fix server crashing on Lua errorsShadowNinja
Previously, the server called FATAL_ERROR when a Lua error occured. This caused a (mostly useless) core dump. The server now simply throws an exception, which is caught and printed before exiting with a non-zero return value. This also fixes a number of instances where errors were logged multiple times.
2015-04-27Replace PRNG assertions with PrngExceptionkwolekr
2015-04-03Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler ↵Loic Blot
which can be unreliable
2015-02-02Create minidump on fatal Win32 exceptionskwolekr
Remove software exception translator function, simplifying exception handler macros. FatalSystemExceptions are left unhandled.
2014-11-29noise: Throw exception on noise allocation failurekwolekr
2014-04-08Cleanup client init states by bumping protocol versionsapier
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready Handle clients with protocol version < 23 (almost) same way as before Make client tell server about it's version Add client state to not send bogus player position updates prior init complete Add access to statistics information (peer connction time,rtt,version) Fix clients standing stalled in world while preloading item visuals (new clients only) Add get_player_information to read client specific information from lua
2014-03-12Pass arguments by referenceSelat
2014-02-05Revert "Fix settings to honor numeric conversion errors"kwolekr
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-04Fix settings to honor numeric conversion errorssapier
Rename try* non exceptioning functions to *NoEx
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2010-12-20framework for modifying texturesPerttu Ahola
2010-12-14settings manager: better default setting handling and updating config file ↵Perttu Ahola
and command line parsing
2010-12-11commit before some radicallish changes to water behaviorPerttu Ahola
2010-11-29license stuffPerttu Ahola
--HG-- rename : src/licensecomment.txt => licensecomment.txt
2010-11-29sitä sun tätä tekeillä, toimii kivastiPerttu Ahola
2010-11-27Initial filesPerttu Ahola