Shannon Skipper
|
2b4a1ad584
|
Fix a variable name typo in the docs
|
2022-06-25 11:29:08 +12:00 |
Nobuyoshi Nakada
|
b180ffa622
|
Fix warnings by old gcc
* Use PRIxSIZE instead of "z"
* Fix sign-compare warning
* Suppress unused-but-set-variable warning
|
2022-06-23 22:52:45 +09:00 |
Samuel Williams
|
cea34bd808
|
Add basic binary operators (and, or, xor, not) to `IO::Buffer`. (#5893)
|
2022-05-09 17:19:01 +12:00 |
Kazuhiro NISHIYAMA
|
dc9a13abee
|
Fix rdoc of IO::Buffer [ci skip]
|
2022-05-09 09:09:29 +09:00 |
Samuel Williams
|
ef525b012a
|
Explicit handling of frozen strings in `IO::Buffer#for`. (#5892)
|
2022-05-09 11:03:04 +12:00 |
Yuta Saito
|
ae51f304d2
|
io_buffer.c: use mremap based resizing only when mremap available
some libc implementations (e.g. wasi-libc) define MREMAP_MAYMOVE, but
don't have mremap itself, so guard the use of mremap by HAVE_MREMAP
|
2022-01-07 02:13:19 +09:00 |
Samuel Williams
|
03d97cc966
|
Remove UTF-8 from documentation.
|
2022-01-02 21:47:50 +13:00 |
Victor Shepelev
|
e7c2d5cc02
|
[DOC] Adjust IO::Buffer docs (#5374)
|
2022-01-02 21:43:01 +13:00 |
Kazuhiro NISHIYAMA
|
04f07713d1
|
Fix typos [ci skip]
|
2021-12-25 10:33:49 +09:00 |
Samuel Williams
|
bed920f073
|
Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`.
|
2021-12-23 12:20:09 +13:00 |
Samuel Williams
|
e30920354f
|
Extended interface for IO::Buffer & documentation.
|
2021-12-22 10:57:34 +13:00 |
Samuel Williams
|
617687df09
|
Rename IMMUTABLE to READONLY.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
9fbf94ff04
|
Improve interface for get/set/copy.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
2de5dc539b
|
Fix handling of clear with offset and without length.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
c86bcd434d
|
Mark non-private mapped files as external.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
da46b8d8e5
|
Default `IO::Buffer#get_string` to use BINARY encoding.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
71bbc40ffa
|
Rename `to_str` -> `get_string` and add support for encodings.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
49166fc74a
|
Improved exception usage/classes.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
71bf5cef75
|
Fix handling of frozens strings.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
9de5c4ec76
|
Fix mapping invalid non-file object.
|
2021-12-21 12:25:42 +13:00 |
Samuel Williams
|
56811617ab
|
Improve IO::Buffer resize and introduce ownership transfer.
|
2021-12-20 00:17:17 +13:00 |
Samuel Williams
|
f3e30b26c5
|
Default size for IO::Buffer.
|
2021-12-19 12:25:38 +13:00 |
Samuel Williams
|
235f523a88
|
Fix spelling of DECLAIR_TYPE.
|
2021-12-19 00:19:55 +13:00 |
Nobuyoshi Nakada
|
d2cb4cc073
|
Adjust format
|
2021-11-21 16:16:03 +09:00 |
Samuel Williams
|
5190926e40
|
Validate string type when constructing IO::Buffer for string mapping.
|
2021-11-17 10:39:54 +13:00 |
Samuel Williams
|
a19a657514
|
Fix 32-bit conversions in IO::Buffer implementation.
|
2021-11-17 10:39:41 +13:00 |
Samuel Williams
|
c833ece5f7
|
Rework implementation of `IO::Buffer.for(string)` to use string locking.
|
2021-11-12 16:46:08 +13:00 |
Samuel Williams
|
98b442e013
|
More immutability and locking tests.
|
2021-11-12 16:46:08 +13:00 |
Nobuyoshi Nakada
|
4eb23c9dda
|
Commit miss [ci skip]
|
2021-11-10 17:47:12 +09:00 |
Nobuyoshi Nakada
|
943b6e4d9c
|
Fix format specifier
|
2021-11-10 17:07:58 +09:00 |
Nobuyoshi Nakada
|
46e46eafd4
|
size_t is not for file size
|
2021-11-10 16:41:26 +09:00 |
Samuel Williams
|
81d0ce7e97
|
Mark IO::Buffer as experimental.
|
2021-11-10 19:21:05 +13:00 |
Samuel Williams
|
4b89034218
|
IO::Buffer for scheduler interface.
|
2021-11-10 19:21:05 +13:00 |