11471 Commits

Author SHA1 Message Date
33971a83dc
Merge commit '5da44fa4b94a315ffaef94023a331aa02aa3b650' into pullstream 2024-02-14 06:32:06 -05:00
2324bc0ecb
Merge commit '26b7e5ad9edebfce0cbb51a5ba606bb0b334ad2d' into pullstream 2024-02-14 06:30:17 -05:00
87a2ad8a4a
Merge commit '20f3cb34aec0cddfe824d9cdc6696cf15b62c28b' into pullstream 2024-02-14 06:29:23 -05:00
5b536dbfbb
Merge commit '889eba1df501e190f9019cc42bad1606477c4cce' into pullstream 2024-02-14 06:25:25 -05:00
48050427b1
Merge commit 'c5412becd1243536807f1f1af4ef4d40bedd438f' into pullstream 2024-02-14 06:19:37 -05:00
8f8cfff62c
Merge commit 'a4668c000cfe1a17e457f463dd8c0ce69dc98877' into pullstream 2024-02-14 06:17:15 -05:00
d5b2bfe647
Merge commit 'd9aed92fb44261826df081a78b03083978f15503' into pullstream 2024-02-14 06:16:48 -05:00
21f58bdbcb
Merge commit 'f673e59b217471128ce66454358bd8f7c41481df' into pullstream 2024-02-14 06:16:30 -05:00
b9b2b8aaed
Merge commit '77f3cfbba80d4cef603fc644a7f3848d5249b039' into pullstream 2024-02-14 06:16:14 -05:00
81f7d5b0f5
Merge commit 'ea35d7d23ec153ee0befba594b150a9f8ea41b53' into pullstream 2024-02-14 06:15:21 -05:00
4ab992ed31
Merge commit 'd9b2833e272fa1018058786edef45a42cbe4ecc0' into pullstream 2024-02-14 06:14:52 -05:00
2c693fc44a
Merge commit '97c49c6f294a0b7e931be2692c124bd78fc79946' into pullstream 2024-02-14 06:14:19 -05:00
c74bca6c28
Merge commit 'c2e0344110c01eef33697c9611c5689e8eee0691' into pullstream 2024-02-14 06:12:23 -05:00
11c57356a4
Merge commit '800f1c0bc5bd4632bd0f246c756283cc47d31a34' into pullstream 2024-02-14 06:10:31 -05:00
3acc12b862
Merge commit 'c9522fb740200ccef6230cec452c48efb31e5394' into pullstream
Mark the commit as merged so we can easily merge newer patches.
2024-02-14 06:04:08 -05:00
a0518dc0a0
Merge commit 'c9522fb740200ccef6230cec452c48efb31e5394#diff-8d3ef4ba02861ab7342677303e0ef793dc2063ed69dbafe1a17e886b24499aab' into pullstream
This commit was done specially since it interfaces heavily with Lua.

First it was diffed out in a standard cuberite repo so we can tell what was changed,
and we apply this diff to a basic cuberite repo right before the commit was made.

I then promptly reverted lua changes that would conflict with applying
the patch. I also had to remove whole sections from the patchfile
afterwards but it was made easier having the actual repo with the
patches applied able to remake the diff as needed before i removed the
bigger sections.

Somehow it all worked out.
2024-02-14 05:48:18 -05:00
5c84a7cf90
Merge commit '15513578c485cac0eeed51621f897ef78588e361' into pullstream 2024-02-13 19:58:04 -05:00
107e02155b
Merge commit '669392d44a0f74e83b2702fa64d4f8bfb2ec643c' into pullstream 2024-02-13 19:57:27 -05:00
e2b11db644
Merge commit 'dcad86e776a37d402aab5a8146829578c358c701' into pullstream 2024-02-13 19:56:39 -05:00
651b4ab127
Merge commit 'ceaebd00d88fe70516c7b4ef1fa84d2f5f10d736' into pullstream 2024-02-13 19:56:11 -05:00
9bba8698f8
Merge commit 'fddbf65e2819d487021946a51722d23565bdd561' into pullstream 2024-02-13 19:55:38 -05:00
0b758cb225
Merge commit 'c747b4911ed4b1833d7f400d62d1835aba704278' into pullstream 2024-02-13 19:55:05 -05:00
aad94db77c
Better Clang Format
This new format aligns better with whats in place for this currently. My
IDE wants to auto sort it, mind as well but it needs a clang-format that
matches this. Was having issues for me with the old one.
I used the libpdw one since it works already for me and appears to
replace it nicely.
2024-02-13 10:53:28 -05:00
d8b5b2e876
New Easy Build scripts for linux.
I want to go fast, these allow you to simply run the script and it goes.
2024-02-13 10:52:22 -05:00
0606ca3008
Initial Client Implimented in GUI.
The code is implimented in this commit and is launchable with the BUILD_CLIENT compile option.
Everything should be launchable by running the one function within
src/nyqubel-client/client.hpp: start_nyqubel_client()
2024-02-13 10:47:58 -05:00
88809475cc
Fix a missing include failing to build with a non-unity build 2024-02-13 10:33:47 -05:00
x12xx12x
5da44fa4b9
Update clang-tidy.sh (#5477) 2023-06-05 20:37:47 +00:00
x12xx12x
26b7e5ad9e
Add Class and Function Identifier Macro (#5481)
This adds a Macro which simply identifies the function and class name for error messages. Examples taken from the MojangAPI class [Choosen because I worked on that]

processing is done during compile time. Should be cross compatible
2023-05-29 16:31:18 +02:00
Mattes D
20f3cb34ae Anvil: Refactored to use shared_ptr. 2023-05-26 23:00:17 +02:00
Mattes D
889eba1df5 Anvil: Allow loading chunks without HeightMap. 2023-05-26 23:00:17 +02:00
Mattes D
c5412becd1 Added cChunkCoords fmtlib formatter. 2023-05-26 23:00:17 +02:00
NiLSPACE
17d5278d59
Added a warning if the webadmin is enabled without any users. (#5499) 2023-05-25 09:34:39 +02:00
x12xx12x
a4668c000c
Updated LTO Check to new standard. (#5476)
The due to LTO the Release build didn't link. The official cmake page suggest it to do it like this
https://cmake.org/cmake/help/latest/module/CheckIPOSupported.html
2023-05-19 16:52:35 +02:00
Niels Breuker
d9aed92fb4 UrlClient: Fixed invalid Content-Length header. 2023-05-19 16:25:12 +02:00
Mattes D
f673e59b21 UrlClientTest: Added tests for root CA verification. 2023-05-19 16:25:12 +02:00
Mattes D
77f3cfbba8 UrlClient: Fixed blocking request's error return value. 2023-05-19 16:25:12 +02:00
Mattes D
ea35d7d23e MojangAPI: Removed an unused TLS root CA. 2023-05-19 16:25:12 +02:00
Mattes D
d9b2833e27 UrlClientTest: Added timeout to all tests. 2023-05-19 16:25:12 +02:00
Mattes D
97c49c6f29 cTCPLink and cUrlClient accept list of trusted root CAs for TLS. 2023-05-19 16:25:12 +02:00
Mattes D
c2e0344110 cTCPLink: Use the original connection hostname for SNI. 2023-05-19 16:25:12 +02:00
x12xx12x
800f1c0bc5 Auth SSL Fixes
- Fixed Login Breaking bug
- Auth and MojangAPI now use UrlClient
- fixed bug in UrlClient where one letter was missing in the HTTP Header
- added function to verify Urls from config files and error handling on bad Urls in config for Auth
2023-05-19 16:25:12 +02:00
Mattes D
c9522fb740 Removed all Printf-family functions from StringUtils.
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments.
Also fixed code-style violations already present in the code.
2023-05-16 23:50:37 +02:00
Alexander Harkness
15513578c4
Try a timeout for jobs. 2023-04-17 20:35:53 +00:00
Michal Havlíček
669392d44a
Implement slime chunks. (#5484)
* Implement slime chunks.

* add cWorld::IsSlimeChunk

* add documentation for cWorld::IsSlimeChunk
2023-04-08 00:11:10 +02:00
stevenzr
dcad86e776
refactor: removed m_MojangAPI from RankManager (#5483)
* refactor: removed m_MojangAPI from RankManager

* docs: updated CONTRIBUTORS
2023-04-04 22:32:09 +02:00
2b71270b1b
Implimented a few Core Plugin commands
I simply ported a few core commands to C++, it was pretty easy once the
infastructure was setup. Since its already setup for lua, its very easy
to write C++ code that is just as good!

I plan on finishing the Core Commands then/after changing cuberite to
have its compatibility enforcers.
2023-03-29 17:46:41 -04:00
3ac283ad5c
Implimented CMDManager to stand in for the missing PluginManager
Since I ripped out lua, we still need commands for basic existance
within the cube world. I want to live comfortably so I setup the system
to be easily adaptable and added to to make more commands in the future.
2023-03-29 17:40:27 -04:00
x12xx12x
ceaebd00d8
Small Team Creation Fixes (#5479)
- Add additional explanation for team creation
- error message if team creation fails because team already exists

fixes #5466
2023-03-26 22:25:54 +00:00
Jomar Milan
fddbf65e28
Handle newlines in cIniFile (#5447)
* Handle newlines during read and write in cIniFile

When reading the ini file, replace \n with newline. When writing,
replace the newline with \n.

* Use ReplaceString instead of regex in IniFile

* Update cIniFile description

* Removed duplicate variable

* Revert "Removed duplicate variable"

This reverts commit de11bac047d871dfbffec28b72f72a2935bd339e.

* Removed duplicate variable

Now without plugin changes

---------

Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
2023-03-22 11:20:59 +01:00
Tiger Wang
c747b4911e
Removed C style arrays from the BlockEntity folder (#5005)
* Removed C style arrays from the BlockEntity folder

* Update for loops with size_t where there are no item grids involved

* Fixed some casts in BrewingstandEntity.cpp

---------

Co-authored-by: bibo38 <bibo38@github.com>
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
2023-03-22 11:20:16 +01:00