67 Commits

Author SHA1 Message Date
Bob Polis
9d766d68a6 Ordered headers for correct dependencies 2022-12-14 17:00:44 +01:00
Bob Polis
8bfa172675 Split sources, made separate headers
Makefile will autogenerate library header, excluding lines containing "@exclude"
2022-12-14 16:58:05 +01:00
Bob Polis
46e5eb7250 Removed libscio.hpp, will be auto-generated 2022-12-14 16:57:27 +01:00
Bob Polis
237277857f Split sources up 2022-12-14 16:39:17 +01:00
Bob Polis
4f5244237a Fixed EOF bug for seek 0 from end 2022-12-12 19:44:58 +01:00
Bob Polis
03ccac4d1f Fixed seeking for simultaneous in- and output 2022-12-12 19:04:05 +01:00
Bob Polis
b7112f0d23 Fixed seeking 2022-12-12 18:36:08 +01:00
Bob Polis
270492d1a7 Removed comment header 2022-12-11 00:27:28 +01:00
Bob Polis
4550b1fc05 Added memstreambuf and imemfile 2022-12-10 23:03:36 +01:00
Bob Polis
9dbb05d26c Removed const from argv; removed comment header 2022-06-04 21:52:38 +02:00
Bob Polis
f96e7e462e Converted to tree structure, OpenBSD support 2021-12-21 11:42:19 +01:00
Bob Polis
9a87e8f939 added standard tests dir 2021-12-21 11:30:32 +01:00
Bob Polis
0d65c4e726 moved sources to src dir 2021-12-21 11:30:08 +01:00
cf654441be fixed 24-bit reading and writing 2021-11-14 14:22:00 +01:00
Bob Polis
9e5b5fe36c Removed -pthread and -fno-strict-aliasing flags 2021-11-13 19:14:03 +01:00
Bob Polis
583b5bb2b9 Added data_streamer constructor with byte order 2021-11-04 23:01:21 +01:00
Bob Polis
d709abce47 Improved indentation 2021-11-03 17:46:15 +01:00
Bob Polis
789ad958a1 Added putf80 method, which was not implemented yet 2021-11-03 17:28:13 +01:00
cf9836f2a2 refactored mapped_file to no longer be derived from std::istream 2020-07-12 13:29:58 +02:00
fc264ed860 fixed inherited constructor call 2020-07-11 15:47:46 +02:00
Bob Polis
261ef4356b minor improvements 2020-07-11 12:41:20 +02:00
Bob Polis
a0906c8a08 bumped version to 1.1.0 2020-07-11 10:07:37 +02:00
Bob Polis
096709fb33 fixed namespace 2020-07-11 10:06:28 +02:00
Bob Polis
091b5561f3 added mapped_file class 2020-07-11 10:05:35 +02:00
Bob Polis
484494b915 enhanced read to restart when interrupted, and to read until really done 2020-04-28 16:27:31 +02:00
f2cf32410e removed duplicate line 2020-04-26 16:31:59 +02:00
376177c760 checking for "quit" input from client to close connection 2020-04-26 16:23:32 +02:00
98d3e88872 added close() to socketstream 2020-04-26 16:22:56 +02:00
5f3364e805 explicitly forbid copying of fdstreams; implemented move for fdstreams 2020-04-26 15:56:17 +02:00
Bob Polis
f7fb1db4a8 fixed double close bug 2020-04-25 18:13:53 +02:00
Bob Polis
44d4e29922 added is_open and close methods on fdstreams 2020-04-25 18:10:38 +02:00
Bob Polis
3c26c0616e changed socketstream to be derived from std::iostream 2020-04-25 17:56:11 +02:00
Bob Polis
5012f2e582 made all fdstreams RAII for fd 2020-04-25 17:42:26 +02:00
Bob Polis
de371a94a5 fixed and improved single buffer version, added seeking as well 2020-04-25 16:40:42 +02:00
Bob Polis
a3f0de4582 improved test code 2020-04-25 16:39:57 +02:00
Bob Polis
eeaa962aba replaced separate inbuf and outbuf with iobuf 2020-04-24 17:45:49 +02:00
Bob Polis
e9fa798ee7 replaced separate inbuf and outbuf with iobuf 2020-04-24 17:45:33 +02:00
Bob Polis
db6b0cca5e added accessors for some members 2020-04-24 16:13:55 +02:00
Bob Polis
027f9cb59e renamed buffer accessors; added accessors for socketstream members 2020-04-24 16:13:28 +02:00
Bob Polis
8d327cb1d2 added 5th test 2020-04-24 10:06:01 +02:00
Bob Polis
c6994e6983 added error messages when write fails 2020-04-24 10:04:48 +02:00
363424f15a joined some lines into one 2020-04-19 14:25:35 +02:00
39badd5582 added help text line for test option 2020-04-19 14:25:09 +02:00
40aac7eeca added option handling and more tests 2020-04-18 20:39:32 +02:00
63417fa847 switched from libcommon to libscerror and libscstring 2020-04-18 20:39:00 +02:00
Bob Polis
7657226714 added test for socketstream 2020-03-17 17:49:16 +01:00
Bob Polis
107b09c056 further implemented socketstream methods 2020-03-17 17:21:47 +01:00
Bob Polis
6d1ebe4af2 added libscerror dependency 2020-03-17 17:21:14 +01:00
Bob Polis
b7b039751b partly implemented socketstream 2020-03-03 19:31:17 +01:00
Bob Polis
dd5c87c896 fixed reading by using single char buffer 2020-03-02 16:20:36 +01:00