Commit graph

94 commits

Author SHA1 Message Date
alexei-zebra
6f78a15efa
fix: add include to Curl.cpp 2026-09-19 19:11:11 +03:00
MihailRis
5f37118f74 fix other issues 2026-09-14 03:05:40 +03:00
MihailRis
bd8d55f8bf fix 2026-09-14 03:01:32 +03:00
MihailRis
4cb97d48a7 fix 2026-09-13 20:09:25 +03:00
MihailRis
bb11a198f5 fix CurlRequests::update 2026-09-13 19:41:26 +03:00
MihailRis
432687c6ab cleanup request 2026-09-13 17:55:12 +03:00
MihailRis
58c974a3a1 add HttpResponse 2026-09-13 16:16:59 +03:00
MihailRis
a5f9eafe23 add HttpRequest::timeoutMs 2026-09-11 21:17:01 +03:00
MihailRis
f44d3355f9 fix curl handles lifetime 2026-09-10 22:45:18 +03:00
MihailRis
9510e06a26 update Curl.cpp 2026-09-10 22:29:34 +03:00
MihailRis
effa850337 add HttpRequest::verifySSL 2026-09-10 21:08:12 +03:00
MihailRis
0608a9ad3d update request error handling 2026-09-10 20:42:22 +03:00
MihailRis
946728e54e fix 2026-09-10 20:38:50 +03:00
MihailRis
03efd8c669 fix 2026-09-10 00:01:03 +03:00
MihailRis
018e4c9f2c remove HttpMethod enum 2026-09-09 23:47:23 +03:00
MihailRis
74bb695807 cleanup http requests (part 1) 2026-09-09 23:43:44 +03:00
Xertis
9dacf7038f Implementation of socket:peek 2026-09-03 19:32:49 +03:00
zaveshaa
515e27b402 fix typos in comments and log messages 2026-08-29 19:47:01 +03:00
MihailRis
0af072a129 add 'network' permission 2025-12-07 01:26:48 +03:00
MihailRis
1f1cb22e4d add 'network.find_free_port' function 2025-11-15 16:18:34 +03:00
MihailRis
f8be3e74f1 add error callback to network.tcp_connect 2025-11-15 12:46:36 +03:00
MihailRis
24931770d3
fix warnings (#648)
* fix unknown command line argument

* fix warnings settings for gcc

* fix -Wzero-as-null-pointer-constant

* revert CMakeLists.txt
2025-10-10 23:12:01 +03:00
MihailRis
b2e03a6d18 fix windows build 2025-10-06 02:08:37 +03:00
MihailRis
44bf4a2f9e add ReadableConnection interface 2025-10-06 01:49:13 +03:00
MihailRis
2895cff5f2 feat: max clients connected limit in TcpServer 2025-10-05 22:52:55 +03:00
MihailRis
2f15a1a8d4 refactor Network.cpp 2025-10-04 14:58:03 +03:00
MihailRis
fbba0e1415
Merge pull request #633 from Xertis/dev
Make Nagle's algorithm configurable
2025-10-01 01:29:49 +03:00
Xertis
1f049c2fd0 change "get" to "is" 2025-10-01 01:05:30 +03:00
MihailRis
9963bc4134 Merge branch 'main' into dev 2025-10-01 00:07:53 +03:00
Xertis
86053fa86d Merge branch 'dev' of https://github.com/Xertis/VoxelEngine-Cpp into dev 2025-09-30 23:45:25 +03:00
Xertis
b6ca7cf918 make Nagle's algorithm configurable 2025-09-30 23:45:00 +03:00
MihailRis
289e0f597c Merge branch 'main' into dev 2025-09-30 23:40:02 +03:00
MihailRis
6eda819011 fix 2025-09-28 22:22:59 +03:00
MihailRis
2d1c69ee7e fix: Bytearray expected, got function 2025-09-28 21:44:04 +03:00
GHOST11111100
792ee63f22
Player Attributes (#578)
* feat: add max interaction distance functionality to Player class and Lua bindings

* feat: add getter and setter for max interaction distance in Player class documentation

* feat: add speed and gravity scale properties with corresponding getters and setters in Player class

* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance

* feat: add time scale functionality with getters and setters in World and Engine classes

* remove speed and gravity scale functions from player and world libraries

* remove time scale setting on world open and close

* rename interaction distance functions for consistency

* refactor: update interaction distance functions and remove time scale methods

* refactor: revert classes.lua to dev

* refactor: remove time scale functionality from Engine and World classes

* fix: Now I’ve definitely rolled back `classes.lua`.

* refactor: remove unused player attributes and clean up player class

* Update Player.hpp

removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
3a40162f1e
Fix udp address resolve (#624)
* тест для udp + фикс udp

* fix udp addresses resolve

* update SocketUdpConnection::connect

* update SocketUdpServer::sendTo

* update udp test

* revert

* test

* test

* test

* test

* test

* test?

* update test

* cleanup

* cleanup

* update test

* update

* revert

* cleanup

* update test

* update test

* update

* fix test

* additional error handling

* update Network.cpp

* update Network.cpp 2

* fix the test

* cleanup Network.cpp

* revert network_tcp.lua extra changes

---------

Co-authored-by: Xertis <118364459+Xertis@users.noreply.github.com>
2025-09-25 17:02:42 +03:00
MihailRis
7d6ddfa535 add 'data' argument to http error callback 2025-09-16 23:17:06 +03:00
MihailRis
9fe26cc18d enable follow-location for http get requests 2025-09-14 15:05:39 +03:00
MihailRis
f531d2e358 fix opening tcp server on macos 2025-09-14 13:45:07 +03:00
MihailRis
ee663fa322 improve setsockopt error message 2025-09-14 13:36:32 +03:00
MihailRis
3bd0ebcda2 Merge branch 'dev' into pathfinding 2025-09-11 18:06:16 +03:00
Onran0
6b4140f530 case fix 2025-09-10 04:36:21 +09:00
MihailRis
7826429a79 Merge branch 'dev' into pathfinding 2025-09-09 20:03:11 +03:00
MihailRis
9871bf1292 add 'headers' argument to network.get, network.get_binary and network.post 2025-09-08 23:46:37 +03:00
MihailRis
5204cfedf5 fix Network.cpp compile warnings 2025-08-31 13:37:22 +03:00
Onran0
1bea391f1d fixes 2025-08-24 08:31:13 +09:00
Onran0
4a9aad04ff udp support 2025-08-24 02:39:05 +09:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
556a561f1c feat: error callback in network.get, .get_binary, .post 2025-04-30 19:15:39 +03:00
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00