Commit graph

  • d40eeb32eb
    Update faststreams.nimble master Joey 2022-12-16 19:00:17 -07:00
  • b42daf41d8
    Replace unsafeAddr by baseAddr (#32) Ludovic Chenut 2022-11-24 12:55:42 +01:00
  • d68f64254e
    ignore build Jacek Sieka 2022-11-23 16:29:42 +01:00
  • 5ec974ed1a
    Normalise nimble (#36) Jacek Sieka 2022-11-23 16:27:20 +01:00
  • 6112432b3a
    move -d:nimRawSetjmp to config.nims (#30) Miran 2022-09-17 07:53:56 +02:00
  • 5f9fd4e5c5
    reduce test dependencies (#34) Jacek Sieka 2022-09-10 07:25:22 +02:00
  • 682b9c6541
    switch CI to the supported versions of ubuntu and macos (#33) Miran 2022-08-26 12:43:06 +02:00
  • 49e2c52eb5 Instead of detecting nim-workspace, detect nimbus-build-system Zahary Karadjov 2022-04-12 19:36:09 +03:00
  • 0c1ca20b45 Nimble lock file Zahary Karadjov 2022-04-12 19:24:02 +03:00
  • 5a5bfd3c09
    Merge pull request #27 from status-im/runway-test Jacek Sieka 2022-04-07 10:11:37 +02:00
  • cf9074b2f4
    add test for runways Jacek Sieka 2022-04-04 13:12:59 +02:00
  • c80701f7d2
    Merge pull request #26 from status-im/unsafememoryinput-empty-array-access tersec 2022-03-28 11:51:04 +00:00
  • 9a4a25e3e0
    fix 32-bit timer overflow and typo in base64 error message Dustin Brody 2022-03-17 21:13:32 +00:00
  • 38c83660fa
    consumedTo becomes negative to indicate delayed writes, so use type that allows for that Dustin Brody 2022-03-17 09:31:24 +00:00
  • 07184af965
    use ptr byte cast Dustin Brody 2022-03-17 08:39:45 +00:00
  • e238632e57
    don't even notionally access element 0 of 0-length openArray Dustin Brody 2022-03-17 07:39:39 +00:00
  • 1a85b3d50b
    remove all_tests binary Dustin Brody 2022-03-17 08:59:59 +00:00
  • 37a183153c
    Fix the CI; Improve docs Zahary Karadjov 2022-01-22 20:01:20 +02:00
  • 5a7d1d196f
    Add OutputStream.getWritableBytes(n) Zahary Karadjov 2022-01-22 19:02:41 +02:00
  • 94fa3fab8c Review 371e60b17c and apply fixes Zahary Karadjov 2022-01-22 16:19:56 +02:00
  • 1eef0ec19c
    Obtain a fresh span after flushing Zahary Karadjov 2022-01-22 13:00:50 +02:00
  • 03975dadf6
    Fix the build with -d:asyncBackend=none Zahary Karadjov 2022-01-20 23:56:22 +02:00
  • 02d120b7f6 allowAsyncOps applies to async file flushing as well Zahary Karadjov 2022-01-20 18:39:31 +02:00
  • e2e83fa27b Fix a naming mistake Zahary Karadjov 2022-01-20 18:29:01 +02:00
  • bf72054fe3 Allow the user to enable async operations over fileOutputs Zahary Karadjov 2022-01-20 18:26:50 +02:00
  • a3dfcb3c77 Handle page extension properly in readInto Zahary Karadjov 2022-01-20 18:24:35 +02:00
  • eb2ad0c441 Added overload for fileInput Ivan Yonchovski 2022-01-18 16:03:34 +02:00
  • e56e9c71e1 Few minor improvements Ivan Yonchovski 2021-11-16 21:11:05 +02:00
  • 371e60b17c
    CI: test with multiple Nim versions (#23) Ștefan Talpalaru 2022-01-05 23:22:53 +01:00
  • c653d05f27
    Follow https://nim-lang.org/docs/asyncdispatch.html\#multiple-async-backend-support precisely Zahary Karadjov 2021-12-08 16:59:12 +02:00
  • 1f62235d4f Enable --styleCheck:usages Jacek Sieka 2021-12-05 16:11:54 +01:00
  • 1b561a9e71 Add support for writing cstrings Zahary Karadjov 2021-11-04 11:54:55 +02:00
  • 3a0ab42573
    Don't import/export chronos by default (#20) Jacek Sieka 2021-08-20 13:10:26 +02:00
  • 5eb7fd0c90 move to unittest2 Ștefan Talpalaru 2021-05-28 00:36:44 +02:00
  • 41a0cc6180 CI: refactor Nim compiler caching Ștefan Talpalaru 2021-05-28 00:18:39 +02:00
  • 99e89eb1e5
    Allow calling stream.read(0) Zahary Karadjov 2021-02-18 23:15:59 +02:00
  • 367cb55eef
    fix memFileInput.pos return negative value (#16) andri lim 2021-02-18 22:56:17 +07:00
  • 9138f6a8bb
    Merge pull request #15 from status-im/github_action andri lim 2021-01-08 12:06:09 +07:00
  • 9f7f5ac370
    add github action script jangko 2021-01-07 12:18:00 +07:00
  • 91d119fdb0
    fixes broken test jangko 2021-01-07 12:12:55 +07:00
  • 92205d608b
    Fix #14 (don't use alloca) Zahary Karadjov 2021-01-06 21:20:27 +02:00
  • 4f6c874c10
    Add a helper for initializing fsStdOut in threads Zahary Karadjov 2020-11-27 19:32:04 +02:00
  • 65f82f2f2d
    Turn the consumeOutputs templates into procs to reduce code bloat Zahary Karadjov 2020-11-27 19:31:07 +02:00
  • 87309f3120
    Don't raise OSError from memFileInput() Zahary Karadjov 2020-08-02 20:16:47 +03:00
  • 5df69fc696
    Add asynctools adapter Zahary Karadjov 2020-06-08 22:37:22 +03:00
  • 81c24860e2
    Bugfix: totalUnconsumedBytes works properly within withReadableRange blocks Zahary Karadjov 2020-05-29 16:08:14 +03:00
  • 5d7cad792f
    Add tests for delayed var-size writes Zahary Karadjov 2020-05-25 11:33:56 +03:00
  • 4c5464a7e0
    Allow withReadableRange(0) Zahary Karadjov 2020-05-25 04:04:25 +03:00
  • 5437bba3ce
    Another fix for unsafe streams Zahary Karadjov 2020-05-25 03:59:31 +03:00
  • 0ca39dcd33
    Quick fix for using withReadableRange with unsafe inputs Zahary Karadjov 2020-05-25 03:57:18 +03:00
  • f43214d177
    Remove unused variables Zahary Karadjov 2020-05-25 02:31:30 +03:00
  • 442ad53b00
    Implement the full behavior of withReadableRange; close #12 Zahary Karadjov 2020-05-22 09:44:25 +03:00
  • d3ef34b325 Removed unneeded conversion John Dupuy 2020-05-15 11:28:19 -05:00
  • 5e17ffae3a Fixed output for writeText(s,float) and added unit test John Dupuy 2020-05-14 17:44:39 -05:00
  • 2c32157fd3 writeText for float rewritten to re-use Nim's call to sprintf John Dupuy 2020-05-14 16:34:27 -05:00
  • 9bbbf376d0 Added 3 more methods of streaming floats; doing time tests. John Dupuy 2020-05-14 00:15:28 -05:00
  • d2deafbd78 First pass at three methods of streaming floats John Dupuy 2020-05-13 19:29:24 -05:00
  • dd63bbfd1c
    Better name and docs for the 'nonBlockingReads' facility Zahary Karadjov 2020-05-07 12:12:46 +03:00
  • 8b863f7798
    Slightly more flexible pipelines (to be documented) Zahary Karadjov 2020-05-07 01:18:58 +03:00
  • ec5c3af313
    Implement InputStream.nonBlockingReads and document it Zahary Karadjov 2020-05-06 23:54:28 +03:00
  • fc76250d02
    Implement timeoutToNextByte Zahary Karadjov 2020-05-06 23:12:12 +03:00
  • e9f50bc847
    Bugfix: Fix an invalid Defect detection when a cursor is creater right at a page boundary Zahary Karadjov 2020-05-06 15:09:01 +03:00
  • 65b43d9e38
    Move stuff around; Add some missing overloads Zahary Karadjov 2020-05-05 23:57:27 +03:00
  • 97effdb2b3
    Cosmetic tweaks to the README Zahary Karadjov 2020-05-05 20:48:33 +03:00
  • 0d90e444c2
    Tweak the inlining of stream.write Zahary Karadjov 2020-05-05 19:23:28 +03:00
  • 18f9488bee
    Expand the documentation; Clean up debugging code; Enable all tests Zahary Karadjov 2020-05-05 19:20:25 +03:00
  • cb36a6d4db
    Implement the async pipelines and fsMultiSync Zahary Karadjov 2020-05-04 02:47:01 +03:00
  • bf930b6f1b
    Implement readInto and read(n) Zahary Karadjov 2020-05-01 21:39:08 +03:00
  • b24300bd3f
    Address review comments; Add documentation; Shared buffering mechanism for input and output streams Zahary Karadjov 2020-04-29 21:19:18 +03:00
  • caab5c917f
    Don't use destructors Zahary Karadjov 2020-04-22 21:26:31 +03:00
  • f3d1c8883f
    Address some review comments; Apply the same destructor fix to the output stream Zahary Karadjov 2020-04-17 00:22:35 +03:00
  • 6ce0472ec0
    Prevent a mysterious crash in NBC Zahary Karadjov 2020-04-15 00:10:56 +03:00
  • 2c87f53c03
    Fix fileInputs.readable(n) Zahary Karadjov 2020-04-14 16:58:51 +03:00
  • 69fc4e24ee
    Initial work on pipelines Zahary Karadjov 2020-04-13 21:59:34 +03:00
  • 4b147d64a0
    Allow constructing derived stream types with custom pageSize Zahary Karadjov 2020-04-11 23:35:49 +03:00
  • 1f49f1179d
    Add destructors Zahary Karadjov 2020-04-11 21:27:33 +03:00
  • b234a99e56
    Fix a bug affecting Snappy (crash when using fileInputs) Zahary Karadjov 2020-04-10 17:37:51 +03:00
  • 26a5d82150
    Work around a Nim bug Zahary Karadjov 2020-04-10 16:43:12 +03:00
  • 3efad6f7f2
    Harmonize the APIs and the coding practices in input_stream and output_stream Zahary Karadjov 2020-04-10 15:30:58 +03:00
  • fa415774c3
    Add vtableAddr as a reusable helper for working around a Nim issue Zahary Karadjov 2020-04-09 22:56:15 +03:00
  • 9da65e792e
    Restore the tests of the FileOutput stream Zahary Karadjov 2020-04-09 22:45:40 +03:00
  • 49eb9a10d3
    [OutputStream] Simpler API for stream implementers Zahary Karadjov 2020-04-09 22:41:19 +03:00
  • 62136f8e79
    [OutputStream] Clean up TODO items unlocked by Nim 1.2; Simplify the public API Zahary Karadjov 2020-04-09 22:20:56 +03:00
  • 8a3cf6778d
    Support Nim 1.2 Zahary Karadjov 2020-03-24 16:29:57 +02:00
  • 5fb40e4ffd
    Remove deprecation warnings Zahary Karadjov 2020-02-22 01:12:48 +02:00
  • e7a34b74f2 fixes output stream casting problem andri lim 2019-09-03 14:50:13 +07:00
  • 12250ec3ed fixes zero length input bug in output_stream.append andri lim 2019-09-03 14:16:42 +07:00
  • 1e85ab9150
    CI: update script path Ștefan Talpalaru 2019-08-24 03:10:27 +02:00
  • aa4289cf11
    CI: update script path Ștefan Talpalaru 2019-08-24 03:05:34 +02:00
  • 6bbe1c21b6
    Cosmetic renames and a simple helper for writing to arrays Zahary Karadjov 2019-08-07 05:18:56 +03:00
  • 9c5c6bdd6f
    Fix a build issue affecting Nim 0.20.2 Zahary Karadjov 2019-08-01 19:26:22 +03:00
  • 6250518b6f
    Stronger guarantees for write block sizes Zahary Karadjov 2019-07-31 01:50:05 +03:00
  • 2bc3941e76
    Support for arbitrarily large fixed delayed writes Zahary Karadjov 2019-07-26 23:52:16 +03:00
  • 26e4f63c57
    Fix a strange build issue, manifesting only in certain contexts Zahary Karadjov 2019-07-10 20:17:05 +03:00
  • c8a7409c96
    Add InputStream.endPos Zahary Karadjov 2019-07-08 17:12:50 +03:00
  • 3d324a8558
    more migration to nim-stew Zahary Karadjov 2019-07-08 12:14:21 +03:00
  • b6b95b1da3
    More sophisticated append proc taking various short-cuts when possible Zahary Karadjov 2019-07-07 15:03:50 +03:00
  • faf75d4326
    Simplify the inner workings of output streams and build out more of the public API Zahary Karadjov 2019-07-06 13:02:44 +03:00
  • f1c376cd91
    Writer cursors that precisely track to which page they belong Zahary Karadjov 2019-07-04 19:14:05 +03:00
  • 5135173f60
    std_shims -> stew Jacek Sieka 2019-07-07 11:44:59 +02:00