| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Avoid inefficient AString -> c_str() -> AString round trip
* Avoid redundant string init expressions
* Avoid unnecessary return, continue, etc.
* Add .clang-format to help with clang-tidy fix-its
* Avoid unnecessary passing by value
* Avoid unnecessary local copying
* Avoid copying in range-for loops
* Avoid over-complicated boolean expressions
* Some violations missed by my local clang-tidy
* Allow unnecessary continue statements
* Add brackets
* Another expression missed locally
* Move BindingsProcessor call into clang-tidy.sh and add space
* Fix pushd not found error
* Different grouping of CheckBlockInteractionRate
|
|
|
| |
If the cServerHandle failed to listen, closing it would then crash Cuberite.
|
| |
|
|
|
|
|
|
|
| |
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.
reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes CID 104670, CID 104670 and CID 103724.
|
| |
|
|
|
| |
Should fix #1726
|
| |
|
| |
|
| |
|
|
|
|
| |
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
|
|
|
|
| |
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
|
|
|
|
| |
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
|
| |
|
| |
|
|
|