summaryrefslogtreecommitdiffstats
path: root/tests/CompositeChat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix cChunkMap issues below with coords below y=0 (#5397)hle02024-11-081-0/+1
| | | | | | | | | | | | | | | | | * return false in cChunkMap::GetBlockTypeMeta if requested height is invalid * add checks to users of cWorld::GetBlockTypeMeta * add checks for invalid height to cChunkMap::GetBlock and cChunkMap::GetBlockMeta * add hle0 to CONTRIBUTORS * Fix merge conflict with isValidHeight * Add initialisation contract and fulfil it. --------- Co-authored-by: Alexander Harkness <me@bearbin.net>
* rework of the color code with & and standard codes (#5416)Debucquoy Anthony tonitch2022-10-251-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adding build* to gitignore and tags for ctags * Notation Changes * Adding & Parser * Avoid crash when & as first character * Looking for @ in the rest of the project * Formating style * Modifying test to reflect new behaviours * Adding a check for the first part * fixup! Adding & Parser style changes * Update APIDesk.lua * Update src/CompositeChat.cpp Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * explaination on the antishlash with ampersand * adding old deprecated formating * Update src/CompositeChat.cpp Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * Update src/CompositeChat.cpp * Update src/CompositeChat.cpp Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com> Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Update the minimodulesTiger Wang2021-04-121-1/+1
|
* CompositeChat: use variants12xx122021-02-081-34/+48
|
* changing cComposite Chat to newer c++ standart (#5028)12xx122020-11-111-0/+14
| | | | | | | | | | | | | | | | | | | | * upgraded to new C++ for loops and fixed errors * readded delete instruction * now using unique ptr * added test for text only (that was causing an error for me) * using unique ptr constructor * added move constructor and deleted copy constructor * fixed deconstuctor http prefixes are constexpr and std::string_view * fixed whitespace Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Fix Android builds (#4998)Tiger Wang2020-10-151-8/+8
| | | | | Construct paths relative to the Cuberite sources with PROJECT_SOURCE_DIR, instead of wherever the first CMakeLists.txt file happened to be with CMAKE_SOURCE_DIR. In Android's case, the latter was in a folder called android/ but that's not the root of the source tree, so any file path built off that root was wrong. This caused file-specific warnings exclusions to fail to apply.
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-6/+0
| | | * Make our CMake slightly less insane
* Update submodules (#4727)peterbell102020-05-091-1/+3
| | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
* Improved testing framework. (#4376)Mattes D2019-08-262-56/+37
|
* Add the fmt library (#4065)peterbell102018-01-031-1/+2
| | | | | | | * 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.
* Removed the LeakFinder for Windows. (#3777)Mattes D2017-06-191-5/+2
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* SelfTests: Print a quick message on test start.Mattes D2016-06-181-0/+12
|
* SelfTests: Moved cCompositeChat test to a separate project.Mattes D2016-06-183-0/+179