Mark H Weaver
|
cc73c2ab5d
Add get-bytevector-some!.
|
5 years ago |
Mark H Weaver
|
91ba73b397
Improve overflow checks in bytevector, string, and I/O operations.
|
5 years ago |
Mark H Weaver
|
91b5b1631f
put-u8: Always write a single byte, regardless of the port encoding.
|
5 years ago |
Ludovic Courtès
|
741c45458d
r6rs-ports: 'put-bytevector' accepts 64-bit integers.
|
6 years ago |
Ludovic Courtès
|
d677aca5c5
r6rs-ports: Accept 'port-position' values greater than 2^32.
|
6 years ago |
Jan Smydke
|
26b446d52b
get-bytevector-n and get-bytevector-n! can now read more than 4 GB
|
6 years ago |
Mark H Weaver
|
ac0d3dcc53
put-bytevector, unget-bytevector: Allow start == bytevector length.
|
7 years ago |
Andy Wingo
|
94d70684c1
Register R6RS port and bytevector internals early
|
8 years ago |
Andy Wingo
|
09a69dd712
Prevent TOCTTOU bugs in C ports
|
8 years ago |
Andy Wingo
|
f46cb25a17
Set rw_random correctly for all custom binary port types
|
8 years ago |
Andy Wingo
|
1a1c3bbe59
Implement R6RS custom binary input/output ports
|
8 years ago |
Andy Wingo
|
9ecf77a82d
Add SCM_OPN to mode bits when making ports
|
8 years ago |
Andy Wingo
|
cd51ce81d0
Use heap-allocated port types instead of ptobnums
|
8 years ago |
Andy Wingo
|
383df7976f
Port conversion strategies internally are symbols
|
8 years ago |
Andy Wingo
|
56c48d14ac
scm_fill_input can guarantee a minimum fill amount
|
8 years ago |
Andy Wingo
|
206b3f6e03
Remove scm_putc_unlocked.
|
8 years ago |
Andy Wingo
|
796676028b
Remove scm_fill_input_unlocked
|
8 years ago |
Andy Wingo
|
cd83872df8
Replace scm_getc with scm_getc_unlocked
|
8 years ago |
Andy Wingo
|
5a342f61c4
Port buffers are Scheme values
|
8 years ago |
Andy Wingo
|
b869344a4f
Remove size field from port buffers
|
8 years ago |
Andy Wingo
|
f62974000f
Port buffer has-eof? field is SCM value
|
8 years ago |
Andy Wingo
|
a9cf9f424f
Allow port "write" functions to only write a chunk
|
8 years ago |
Andy Wingo
|
f7027a8b88
Port read/write functions take bytevectors
|
8 years ago |
Andy Wingo
|
8399e7af51
Generic port facility provides buffering uniformly
|
8 years ago |
Andy Wingo
|
e8eeeeb1d4
Port close functions return void
|
8 years ago |
Andy Wingo
|
2caae477c5
Refactor to rw_random / rw_active port flags
|
8 years ago |
Andy Wingo
|
b538a96f92
Custom binary port internals refactor
|
8 years ago |
Andy Wingo
|
693359cb3d
Cosmetic changes to r6rs-ports.c
|
8 years ago |
Andy Wingo
|
67b147fb7a
Remove port free functions; just close instead
|
8 years ago |
Andy Wingo
|
59a18451b8
Use symbols instead of _IONBF values as args to setvbuf
|
8 years ago |