Commit graph

22 commits

Author SHA1 Message Date
Ludovic Chenut
b42daf41d8
Replace unsafeAddr by baseAddr (#32)
* Replace unsafeAddr xxx[0] by baseAddr(xxx)

* Fix styleCheck:usages

* Update CI conf

* Fix charsToBytes

* Fix outputs write

* Add test
2022-11-24 12:55:42 +01:00
Jacek Sieka
5ec974ed1a
Normalise nimble (#36)
* normalise nimble file, ci / deprecation fixes

* other deprecations
2022-11-23 16:27:20 +01:00
Zahary Karadjov
37a183153c
Fix the CI; Improve docs 2022-01-22 20:01:20 +02:00
Zahary Karadjov
5a7d1d196f
Add OutputStream.getWritableBytes(n) 2022-01-22 19:02:41 +02:00
Zahary Karadjov
1eef0ec19c
Obtain a fresh span after flushing 2022-01-22 13:00:50 +02:00
Zahary Karadjov
03975dadf6
Fix the build with -d:asyncBackend=none 2022-01-20 23:56:22 +02:00
Zahary Karadjov
02d120b7f6 allowAsyncOps applies to async file flushing as well 2022-01-20 18:39:31 +02:00
Zahary Karadjov
e2e83fa27b Fix a naming mistake 2022-01-20 18:29:01 +02:00
Zahary Karadjov
bf72054fe3 Allow the user to enable async operations over fileOutputs 2022-01-20 18:26:50 +02:00
Jacek Sieka
1f62235d4f Enable --styleCheck:usages 2021-12-07 00:32:45 +02:00
Zahary Karadjov
1b561a9e71 Add support for writing cstrings 2021-11-04 11:54:55 +02:00
Jacek Sieka
3a0ab42573
Don't import/export chronos by default (#20)
Chronos support is optional and should not have to be imported in order
to use faststreams for non-async use cases, as doing so pollutes the
global namespace and slows down compilation.

`async` support must now explicitly be enabled with
-d:async_backend=chronos|asyncdispatch
2021-08-20 14:10:26 +03:00
Zahary Karadjov
65f82f2f2d
Turn the consumeOutputs templates into procs to reduce code bloat 2020-11-27 19:35:31 +02:00
Zahary Karadjov
5df69fc696
Add asynctools adapter 2020-06-08 22:37:45 +03:00
Zahary Karadjov
5d7cad792f
Add tests for delayed var-size writes 2020-05-25 11:33:56 +03:00
Zahary Karadjov
e9f50bc847
Bugfix: Fix an invalid Defect detection when a cursor is creater right at a page boundary 2020-05-06 15:09:01 +03:00
Zahary Karadjov
65b43d9e38
Move stuff around; Add some missing overloads 2020-05-05 23:57:27 +03:00
Zahary Karadjov
0d90e444c2
Tweak the inlining of stream.write 2020-05-05 20:21:44 +03:00
Zahary Karadjov
18f9488bee
Expand the documentation; Clean up debugging code; Enable all tests 2020-05-05 19:20:25 +03:00
Zahary Karadjov
cb36a6d4db
Implement the async pipelines and fsMultiSync 2020-05-05 02:49:39 +03:00
Zahary Karadjov
bf930b6f1b
Implement readInto and read(n) 2020-05-03 04:35:34 +03:00
Zahary Karadjov
b24300bd3f
Address review comments; Add documentation; Shared buffering mechanism for input and output streams 2020-05-01 19:12:58 +03:00