Commit graph

101 commits

Author SHA1 Message Date
Alex Zebra
e78b0f0367
Merge 2c8fd60870 into cb5bebf3ae 2026-11-03 20:25:14 +03:00
MihailRis
10f9d89c6d add first client test (creating_new_world.lua) 2026-10-21 20:48:23 +03:00
alexei-zebra
b6f6235249
Fix the issues found while reviewing the build files
Install the Wayland development packages in both workflows and bundle the
runtime libraries in the AppImage: the release build had no native Wayland
backend at all, and the engine silently fell back to GLFW there.

Build the window backends on every platform that is not Windows and not
Apple, glob the wayland sources with CONFIGURE_DEPENDS, and report a
missing Wayland dependency with the list of what is missing.

Also drop the dead nested project() calls and the duplicate -no-pie
option, make .dirIcon the file appimagetool expects, and describe the
real Linux dependencies in the README.
2026-10-11 20:06:19 +03:00
MihailRis
eb2afe822d cleanup
Some checks are pending
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Waiting to run
Build / Build (push) Waiting to run
Macos Build / build-dmg (push) Waiting to run
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Waiting to run
MSVC Build / build-windows (windows-2022) (push) Waiting to run
2026-10-11 13:05:30 +03:00
ostermine
fa5466f675 fix zip archives paths and add zip files test
- create_zip from a subdirectory wrote entry names with a leading
  '/', so the mounted archive looked empty
- memory_ostream did not support tellp(), so create_zip into a memory
  device wrote invalid offsets (-1) to the archive
- ZipFileDevice added missing parent directories for the first entry
  only
- ZipFileDevice::exists returned false for the archive root
- MemoryDevice::mkdirs recreated existing directories, dropping their
  content (mkdir("a/b") cleared "a"); overwriting a file duplicated its
  name in the directory listing

Added dev/tests/zip_files.lua: builds archives with file.create_zip
from memory device root, subdirectories and the real filesystem,
mounts them and checks reading, listing and read-only access.
memory_filesystem.lua got checks for the MemoryDevice issues.

Closes #544
2026-10-10 15:54:28 +03:00
MihailRis
8962042627 complete the rename of voxelengine to voxelcore 2026-10-10 10:54:36 +03:00
ostermine
d8017ff995 fix reload_module ignoring pack environment
reload_module loaded the new module code with the global environment,
while require runs modules in their pack environment. After reload,
PACK_ID and other pack globals were nil in the module.
2026-10-10 00:52:23 +03:00
MihailRis
61af506f4c fix xml.tostring 2026-09-27 16:14:14 +03:00
MihailRis
b9b17358a1 fix file.remove_ext 2026-09-20 22:01:18 +03:00
MihailRis
60f184ae43 fix file.ext 2026-09-20 21:58:36 +03:00
MihailRis
ef4bd4f594
Merge pull request #941 from boolean-false/crypto-library
Crypto library
2026-09-17 20:41:32 +03:00
dagger
8d279466a9 move crypto Lua test to dev tests 2026-09-15 04:45:07 +07:00
MihailRis
bb11a198f5 fix CurlRequests::update 2026-09-13 19:41:26 +03:00
Xertis
be6be8839f Update network_tcp.lua 2026-09-03 23:48:08 +03:00
zaveshaa
c759e02ceb fix typos in docs and dev test script 2026-08-29 19:46:50 +03:00
MihailRis
40a61307b3 update bytearray test 2026-08-04 19:54:08 +03:00
MihailRis
5f94e707ea update bytearray test 2026-08-04 18:55:10 +03:00
RomanDonw
d328a2ba2c
Merge branch 'MihailRis:main' into main 2026-08-04 22:51:40 +10:00
RomanDonw
074f01b1bb upgraded bytearray test & added DBLview testing section 2026-08-04 22:41:52 +10:00
RomanDonw
5843e5828b upgraded bytearray's test (added testing new bytearray functions and views/viewers) 2026-08-04 20:25:15 +10:00
MihailRis
4295af15cc
Merge pull request #847 from MihailRis/client-side-tests
client-side `--script`, `--test` support (part 1)
2026-07-25 21:59:10 +03:00
MihailRis
917806a7ef add canvas lines test 2026-07-18 13:27:27 +03:00
MihailRis
39a4236553 fix integer raycast filters & add simple raycast test 2026-07-17 00:23:16 +03:00
MihailRis
34af3523d9 add io_stream lua test 2026-06-11 00:29:01 +03:00
MihailRis
0b61a337de update AppImageBuilder.yml 2026-02-13 14:11:35 +03:00
MihailRis
d65f3cb1d5 update AppImageBuilder.yml 2026-02-13 13:58:50 +03:00
MihailRis
1abe15dd1d update AppImageBuilder.yml 2026-02-13 13:37:44 +03:00
MihailRis
1e1fd53209 fix MemoryDevice::list & update filesystem tests 2025-11-16 18:51:14 +03:00
MihailRis
262a373483 add memory_filesystem test 2025-11-16 18:35:20 +03:00
MihailRis
2a8fa4f2fa update filesystem test 2025-11-16 18:34:51 +03:00
MihailRis
acb46253ff update udp test 2025-09-30 18:43:51 +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
2204cb795e fix network_http test 2025-09-14 16:11:12 +03:00
MihailRis
a8d3f03004 add simple http test 2025-09-14 15:12:12 +03:00
MihailRis
3d07507fa6 update network test 2025-09-14 14:37:22 +03:00
MihailRis
40eda93398 update network test and fix coroutines errors handling 2025-09-14 14:11:34 +03:00
MihailRis
51859c1501 add simple tcp test 2025-09-14 13:13:27 +03:00
MihailRis
25f4c7fbdd
fix bytearray:insert (#594) 2025-08-23 11:47:35 +03:00
MihailRis
d9d65a169c fix Bytearray from table constructor 2025-06-28 21:33:49 +03:00
Xertis
2b753a1dd2
update chunks.lua test for debugging "upgrade square is not fully inside of area" (#511)
* Update chunks.lua

* Update chunks.lua

* Update chunks.lua
2025-04-12 19:43:41 +03:00
MihailRis
0a49e4fa92 add Bytearray.trim, Bytearray.get_capacity 2025-04-12 15:27:29 +03:00
MihailRis
1ade910fa1 fix Bytearray.insert, Bytearray.remove 2025-04-12 13:49:31 +03:00
MihailRis
fb07c86ea6 add static Lua-style functions: Bytearray.insert, Bytearray.remove, Bytearray.append 2025-04-12 13:24:55 +03:00
MihailRis
9169049530 feat: ipairs(...) support in Bytearray 2025-04-12 12:55:29 +03:00
MihailRis
d8feff56c0 feat: Lua-style array append support in Bytearray 2025-04-12 12:32:31 +03:00
MihailRis
794aa5b9cd add simple data_buffer test 2025-04-07 20:14:46 +03:00
MihailRis
bbe5688a53 fix entities.spawn in coroutines 2025-03-27 08:50:42 +03:00
MihailRis
a203e40688 change AppImage user directory from ~/.voxeng to ~/.config/voxelcore 2025-03-01 12:18:20 +03:00
MihailRis
84ff983fd6 update AppImageBuilder.yml 2025-02-12 01:23:40 +03:00
MihailRis
f21fdbe968 update libglew version in AppImageBuilder.yml 2025-02-12 01:04:09 +03:00