36 Commits

Author SHA1 Message Date
MihailRis
536035441a fixes 2025-11-16 18:35:04 +03:00
MihailRis
0c517709a1 add file.create_memory_device, app.create_memory_device 2025-11-16 18:13:53 +03:00
MihailRis
17ffa73ce7 refactor: move and rename EnginePaths 2025-11-09 20:13:59 +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
Xertis
b95d3f0779 make compression lib 2025-10-02 22:41:53 +03:00
Xertis
8eeb9f5fde
change lua_gettop to lua::gettop 2025-10-01 19:14:43 +03:00
Xertis
fd8d2c22e5
fixes 2025-10-01 19:01:53 +03:00
Xertis
516e62eade
Fix file.gzip 2025-10-01 00:56:39 +03:00
Onran
aae642a13e
Streaming I/O and support of named pipes (#570)
* added streaming i/o for scripting, and a byteutil.get_size function

* added i/o stream class, also added named pipes support on lua side via ffi

* added constant file.named_pipes_prefix

* added buffered and yield modes for io_stream

* added new time function for work with UTC - utc_time, utc_offset, local_time

* docs updated

* constant pid moved to os.pid

* now gmtime_s and localtime_s used only in windows
2025-08-01 20:26:43 +03:00
ChancellorIkseew
ac20676b3a
add weather.list command (#526) 2025-05-05 20:30:50 +03:00
MihailRis
303e861fbb replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
MihailRis
d9d4d2b305 fix: missing Bytearray option in file.read_bytes 2025-04-06 14:39:21 +03:00
MihailRis
331734792d refactor: add ContentControl class 2025-04-02 15:01:24 +03:00
MihailRis
a086b726c6 add file.create_zip(...) 2025-03-17 23:16:50 +03:00
MihailRis
e8153f3393 add file.mount(...) and file.unmount(...) 2025-03-17 23:01:44 +03:00
MihailRis
104cc11645 fix reading binary file as string 2025-03-17 02:14:17 +03:00
MihailRis
88b45e5098 add pack.request_writeable(...) & update gui.confirm screen 2025-03-12 17:07:57 +03:00
MihailRis
1ec8f89599 add io::Device::mkdir 2025-02-04 14:10:23 +03:00
MihailRis
a653b063e6 completely remove EnginePaths::resolve 2025-02-04 12:35:19 +03:00
MihailRis
347d76870a add io::directory_iterator 2025-01-31 10:07:05 +03:00
MihailRis
e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
272e41de50 disable writing to read-only entry points 2024-12-24 08:13:08 +03:00
MihailRis
bc4aea67c9 add file.is_writeable 2024-12-24 08:08:44 +03:00
MihailRis
1149d5869c Merge branch 'main' into headless-mode 2024-12-22 02:33:12 +03:00
MihailRis
4ce2f3edca add new Bytearray:append overloads 2024-12-22 02:14:04 +03:00
MihailRis
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
e8b674ca65 Merge branch 'main' into curl 2024-11-26 12:48:14 +03:00
MihailRis
9ed80ec835 disable traceback lines with non-existing files 2024-11-24 12:09:46 +03:00
MihailRis
0fec17a8b6 fix file.write_bytes 2024-11-22 07:13:49 +03:00
MihailRis
a015d74af5 update file library warnings 2024-11-19 10:04:26 +03:00
MihailRis
71eadb2fde add 'write to read-only entry point' warnings 2024-11-07 21:57:27 +03:00
MihailRis
4932fd8b4b add file.read_combined_object & update filesystem docs 2024-11-05 14:33:56 +03:00
MihailRis
1f4ef8a4de fix 'access denied' in file.remove for entry points 'export', 'config' 2024-10-21 12:16:24 +03:00
MihailRis
736fdbf964 move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00