minetest/src/util
Rogier-5 b11720af45 Use the standard to_string() functions for C++11 (#4279)
If compiling according to a C++ version before C++11, then define
std::to_string ourselves.

Add a to_wstring version as well

As std::to_string() for floating point types uses %.6f as floating
point format converter, instead of %G, it needs special care.

To preserve ftos() behavior (which is expected to use the %G format
converter), it no longer uses to_string().
2016-08-11 19:22:40 +02:00
..
areastore.cpp couple of memory leaks fixes. 2016-08-10 16:59:32 +02:00
areastore.h Add AreaStore custom ID API 2016-03-07 16:33:20 -05:00
auth.cpp Much better API for auth.{cpp, h} 2016-03-15 05:55:49 +01:00
auth.h Add minetest.check_password_entry callback 2016-05-30 23:28:08 +10:00
base64.cpp Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
base64.h Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
basic_macros.h Silence 'unused typedef' warning for STATIC_ASSERT() 2015-11-03 01:03:33 -05:00
CMakeLists.txt Add colored text (not only colored chat). 2016-05-31 17:34:29 +02:00
container.h Clean up threading 2015-08-23 22:04:06 -04:00
cpp11_container.h Permit usage of std::unordered_map & std::unorderered_set on c++11 compilers (#4430) 2016-08-10 12:08:05 +02:00
directiontables.cpp Update Copyright Years 2013-02-24 20:15:24 +01:00
directiontables.h Update Copyright Years 2013-02-24 20:15:24 +01:00
enriched_string.cpp Add colored text (not only colored chat). 2016-05-31 17:34:29 +02:00
enriched_string.h Add colored text (not only colored chat). 2016-05-31 17:34:29 +02:00
hex.h Move hex.h to util/ 2015-02-21 14:32:35 +01:00
mathconstants.h Define M_PI on MSVC 2012-07-21 03:36:34 +03:00
md32_common.h Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
numeric.cpp HOTFIX: fix too agressive block culling 2016-02-18 18:07:28 +01:00
numeric.h v2d & aabbox3d<f32> & sky cleanups 2016-02-11 16:55:15 +01:00
pointedthing.cpp Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
pointedthing.h Update Copyright Years 2013-02-24 20:15:24 +01:00
pointer.h Fix BufferedPacket race condition (fixes #2983) 2015-08-06 02:25:35 -04:00
serialize.cpp Fix misc. MinGW and Valgrind warnings 2015-11-08 16:34:56 -05:00
serialize.h Add macos/freebsd missing endian.h include and add win endianness info 2015-12-29 23:03:30 +01:00
sha1.cpp Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
sha1.h Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
sha2.h Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
sha256.c Check output of mpz_set_str and fix leak on error condition 2015-07-24 22:42:54 +02:00
srp.cpp couple of memory leaks fixes. 2016-08-10 16:59:32 +02:00
srp.h Update CSRP-GMP to commit deaa11a7c29a73008 2016-04-10 14:56:54 +02:00
strfnd.h Clean up Strfnd 2016-03-19 21:27:57 -04:00
string.cpp Random misc. warning fixes and cleanups 2016-06-11 03:23:53 -04:00
string.h Use the standard to_string() functions for C++11 (#4279) 2016-08-11 19:22:40 +02:00
thread.h Rename macros with two leading underscores 2015-10-14 02:39:37 -04:00
timetaker.cpp Fix unit reported by TimeTaker (was always ms) 2014-10-09 11:15:03 +02:00
timetaker.h Add varying levels of precision to TimeTaker 2013-03-29 16:53:15 -04:00