summaryrefslogtreecommitdiffstats
path: root/Tools/NoiseSpeedTest/Globals.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-196/+0
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-05-16Update logging code to reduce unnecessary string copying:Peter Bell1-0/+1
* Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type
2020-05-10Cleanup unneeded globals (#4736)peterbell101-44/+0
2020-05-09Enable C++17 in buildPeter Bell1-0/+7
2020-05-07Remove old Android leftovers (#4722)Mat1-10/+0
2020-05-05Update fmt to 6.2.0 (#4718)peterbell101-1/+1
* Update fmt to 6.2.0
2019-12-22Improved large jungle and acacia tree generation (#4413)NiLSPACE1-0/+15
2018-01-03Add the fmt library (#4065)peterbell101-15/+1
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-10-21Fix tool builds on AppleClangpeterbell101-36/+30
2017-08-03Remove double includes part 2 (#3890)peterbell101-0/+4
2016-11-15Added NoiseSpeedTest project.Mattes D1-0/+0
2016-08-24Fixed type-casting-related warnings.Mattes D1-6/+0
2014-12-25Fixed tools compilation.Mattes D1-0/+1
Fixes errors introduced in 081e7ddd028d9382bd52c2b117dae6b6f84225e5.
2014-07-24Made redundant semi not an error, fixed one more.archshift1-1/+1
2014-06-03Update Globals.hJulian Laubstein1-1/+1
2014-05-20Fixed MCADefrag compilation.madmaxoft1-0/+15
2014-05-19Fixed some warningsJulian Laubstein1-0/+1
2014-03-11Added macros support to toolsTycho1-1/+4
2014-02-13MCADefrag: Initial implementation.madmaxoft1-11/+4
Partially implements #639. This only defragments the chunks, without recompressing them.
2014-01-25ProtoProxy: Modified to use PolarSSL.madmaxoft1-5/+3
2014-01-17ProtoProxy: Compiles under Linux.madmaxoft1-0/+6
2014-01-17ProtoProxy: Fixed inversed typedef.madmaxoft1-1/+1
I must be going crazy...
2014-01-17ProtoProxy: Fixed compilation in Windows and in Linux.madmaxoft1-0/+6
2014-01-17ProtoProxy: Fixed #include filename case.madmaxoft1-4/+4
2013-10-28ProtoProxy: Fixed compilation after the previous cByteBuffer changes.madmaxoft1-0/+4
2013-08-30ProtoProxy: Uses cTimer for the timing information.madmaxoft1-0/+1
Previously used clock() is not suitable for the task, unfortunately it worked in MSVC.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-220/+220
2013-07-06ProtoProxy: moved into the Tools foldermadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1657 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25ProtoProxy: fixed after file renamingmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@890 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04ProtoProxy: Parsing some initial packets early in the conversationmadmaxoft@gmail.com1-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@834 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02Protocol proxy now decrypts the data (but doesn't understand the packets yet)madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@826 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02ProtoProxy: Initial import of the protocol proxy project.madmaxoft@gmail.com1-221/+219
Currently it logs all communication, doesn't decode anything, doesn't decrypt. git-svn-id: http://mc-server.googlecode.com/svn/trunk@822 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-17Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-0/+6
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+6
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13Fixed case comparison - used the builtin functionmadmaxoft@gmail.com1-12/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@663 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13fixed /tp commandlapayo94@gmail.com1-0/+12
made cWorld::DoWithPlayer case insensitive git-svn-id: http://mc-server.googlecode.com/svn/trunk@662 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-202/+202
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()madmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-1/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24Removed the split between 1.2.3 and 1.1, left only 1.2.3 codemadmaxoft@gmail.com1-8/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@429 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-09Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 )madmaxoft@gmail.com1-18/+47
git-svn-id: http://mc-server.googlecode.com/svn/trunk@387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06Fixed rev 373 not compiling on linuxmadmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@375 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-05ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)madmaxoft@gmail.com1-1/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-01Started carefully moving to 1.2.2faketruth1-0/+1
Clients can get up to the login packet, after which the server tries to send chunks but in the wrong format and the client disconnects git-svn-id: http://mc-server.googlecode.com/svn/trunk@347 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-21Changed ASSERT() to not cause warnings during compilefaketruth1-1/+9
Added VERIFY(); it's the same as ASSERT() but also works in release builds VS2010 project uses warning level 4 git-svn-id: http://mc-server.googlecode.com/svn/trunk@305 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-20Using own ASSERT() that logs to filefaketruth1-7/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-18Moved stdarg.h inclusion into Globals.hmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@289 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-16Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properlymadmaxoft@gmail.com1-2/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-0/+21
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-07Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com1-0/+2
Moved data sending from cPacket into cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@240 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-0/+11
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com1-5/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01auto_ptr fix 2madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@211 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@209 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-30More cFile cleanup; removed old format writing for block entitiesmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@193 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-0/+82
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6