Commit graph

12 commits

Author SHA1 Message Date
Onran
e7bc0bdbda major fixes of buffered mode in io_stream
- fixed underflow and overflow errors: now stream automatically does flush or read
2026-06-22 15:59:45 +09:00
Onran
658af207ab minor change in binary read_fully 2026-06-22 15:09:20 +09:00
Onran
82da7e907d removed require to define available, tell, seek in ioLib 2026-06-22 14:47:58 +09:00
Onran
21019e6737 added note about tell to io_stream 2026-06-22 00:57:38 +09:00
Onran
db014cca09 Merge remote-tracking branch 'upstream/client-side-tests' into io-streams-enhance
# Conflicts:
#	src/logic/scripting/descriptors_manager.cpp
#	src/logic/scripting/descriptors_manager.hpp
2026-06-21 23:55:08 +09:00
Onran
cd040cfeb4 fix of io_stream:available for non-buffered streams when "length" arg defined 2026-06-21 21:13:30 +09:00
Onran
bf98091a9c added low-level ioLib.available for io_stream's 2026-06-21 20:19:24 +09:00
Onran
fdec2d722d fix of io_stream:read_fully for binary and yield mode 2026-06-21 19:20:37 +09:00
MihailRis
0d2a0b012d add io_stream:tell & fix io_stream:seek 2026-06-11 00:27:15 +03:00
Artem
33f7815a21 add io_stream:seek 2026-03-13 21:19:47 +03:00
Artem
4809003aa8 fix io_stream.write_line 2026-02-08 19:23:52 +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