1
0
Fork 0
Commit Graph

43 Commits

Author SHA1 Message Date
Tiger Wang 222d9957a1 cIsThread cleanup
+ Semi-gracefully handle unexpected exceptions
* No-one cared about the return values, remove them
2021-03-29 23:36:15 +01:00
Tiger Wang 5123850db0
Fix Windows XP to 7 compatibility (#5167)
* Partially reverts 01a4e696b
* Unify thread names
- Remove use of GetThreadId API
2021-03-28 13:34:57 +01:00
Tiger Wang eeb63b8901
zlib -> libdeflate (#5085)
+ Use libdeflate
+ Use std::byte
* Fix passing temporary to string_view
+ Emulate make_unique_for_overwrite
2021-01-11 16:39:43 +00:00
KingCol13 a78fd671b2
Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)
* Removed BiomeDef.h

* Removed ChunkDef.h from Globals.h

* Added to CONTRIBUTORS.

* Re-added empty last line to Globals.h

* Included stddef and StringUtils in BiomeDef.h

* Fixed build tools compiling. It compiles, but at what cost?

* Added include to src/Generating/Trees.h

* Include added in ChunkGeneratorThread.h

* Moved rearranged includes in LineBlockTracer.cpp

* Re-arrange headers in ChunkInterface.cpp

* Included ChunkDef.h in Path.h

* Included ChunkDef.h in NBTChunkSerializer.h

* Rearranged included and added required includes to headers.

* Removed unnecessary included in StringUtils.h.
2020-09-25 09:13:59 +00:00
Tiger Wang 4f85931c42 Address comments 2020-07-12 22:00:07 +01:00
Tiger Wang 6317176d7e More CMake cleanup 2020-07-12 22:00:07 +01:00
Tiger Wang 78f72bbfc4 Resolve IPO flags mismatch 2020-05-31 13:05:19 +01:00
Peter Bell 3189a3cbee Update logging code to reduce unnecessary string copying:
* 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-16 09:39:05 +01:00
peterbell10 154df6b09d
Cleanup unneeded globals (#4736) 2020-05-10 16:16:38 +00:00
Mat c710f6a4ea
Remove old Android leftovers (#4722) 2020-05-07 22:14:00 +03:00
peterbell10 57952505e5
Update fmt to 6.2.0 (#4718)
* Update fmt to 6.2.0
2020-05-05 22:52:14 +01:00
peterbell10 757231cc6e
Add the fmt library (#4065)
* 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.
2018-01-03 17:41:16 +00:00
Alexander Lyons Harkness 1926181cb7 Fix style of Tools 2017-12-24 14:23:23 +00:00
peterbell10 5b6b043752 Fix tool builds on AppleClang 2017-10-21 19:31:45 +02:00
peterbell10 759618b035 Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
Mattes D 7ac3b0fa0b Removed the LeakFinder for Windows. (#3777) 2017-06-19 11:05:19 +02:00
Mattes D d2e8643607 Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
Mattes D 8eaa8613da CMake: Remove needless minimum version specifications. 2016-07-18 22:11:42 +02:00
Alexander Harkness 8b851d5048 Added HTTPS links wherever they are supported. 2015-12-19 14:30:32 +00:00
tycho 3187dbf0aa Increase robustness of the logging subsystem 2015-09-15 16:19:49 +01:00
Anthony Birkett 9dac390247 Daemon support on Linux.
Added null console log listener, avoid printf() when stdout is closed.
2015-06-05 15:47:47 +01:00
tycho c627016ea6 Fix other clang 3.6 commit 2015-05-24 17:14:35 +01:00
tycho 7a8025eacd Disable -Werror for warnings in tools. 2015-05-24 13:24:34 +01:00
tycho 62c99145d0 Disable warnings in MCADefrag, ProtoProxy and tests 2015-05-23 12:47:54 +01:00
Mattes D 7d35e84578 Fixed tools compilation.
Fixes errors introduced in 081e7ddd02.
2014-12-25 08:47:35 +01:00
Mattes D f5b4c92a10 MCADefrag: Added a sanity check for chunk size.
Fixes CID 66448.
2014-12-21 22:50:32 +01:00
Mattes D ed99216ba4 Tools: Removed unused Timer.* file from CMakeLists.txt. 2014-12-04 22:51:40 +01:00
Mattes D dec89478a7 Fixed MCADefrag compilation. 2014-11-29 23:58:26 +01:00
Tycho 9844368267 Renamed Loggers 2014-08-12 16:05:04 +01:00
Tycho be780b380e Fixed Tools to work with new logging framework 2014-08-10 20:10:47 +01:00
archshift 431d898a81 Made redundant semi not an error, fixed one more. 2014-07-24 11:24:22 -07:00
Mattes D c11488ccd7 Merge pull request #1011 from SphinxC0re/SomeWarningFixes
Fixed some warnings
2014-06-04 18:02:45 +02:00
Julian Laubstein 1499426472 Update Globals.h 2014-06-03 21:32:46 +02:00
madmaxoft 4aec5c9450 Fixed MCADefrag compilation. 2014-05-20 09:37:21 +02:00
Julian Laubstein cfbb256360 Fixed some warnings 2014-05-19 10:37:43 +02:00
Tycho 3d15319e3c Added macros support to tools 2014-03-11 15:55:37 -07:00
Tycho 83f0438e21 COnverted ProtoProxy to use library CMakeLists 2014-02-16 04:09:00 -08:00
Tycho 2acf218700 Allow building MCADefrag at the same time as MCServer 2014-02-16 03:37:31 -08:00
Tycho 42e9b21fb2 CHange MCADefrag CMakelist to use zlib CMakeList 2014-02-15 15:27:10 -08:00
Tycho 9ba0b6ecf2 rewrote MCADefrag CMakelist to use Setflags 2014-02-15 15:24:34 -08:00
madmaxoft 41ab8260f7 MCADefrag: Implemented recompression.
This finalizes #639.
2014-02-13 16:54:39 +01:00
madmaxoft cd658e02e8 MCADefrag: Fixed bugs, now produces valid MCA files. 2014-02-13 16:54:39 +01:00
madmaxoft 05590fb91d MCADefrag: Initial implementation.
Partially implements #639.
This only defragments the chunks, without recompressing them.
2014-02-13 16:54:39 +01:00