Commit Graph

4687 Commits

Author SHA1 Message Date
Harendra Kumar
a10a505338 Add Eq constraint for ghc-8.10 in fold benchmarks 2024-08-03 18:14:42 +05:30
Harendra Kumar
d8b91239de Re-enable the tests disabled for 8.10.7 2024-08-03 18:14:42 +05:30
Harendra Kumar
edf962be80 Fix the GHC version in 8.10.7 CI
It was wrongly using 9.2.7 instead.
2024-08-03 18:14:42 +05:30
Harendra Kumar
e2dbbff473 Fix unsafe use of FFI for unpinned arrays
Pass the MutableByteArray# directly to the FFI functions to avoid
garbage collector moving it between the time we get a pointer and then
call the FFI function.
2024-08-02 22:08:54 +05:30
Harendra Kumar
fadbfdc934 Fix deprecation warnings due to MutByteArray Changes 2024-08-02 22:06:44 +05:30
Harendra Kumar
1ae6a7ebdb Update Scanr module documentation 2024-08-02 22:06:44 +05:30
Harendra Kumar
b86d3be5a1 Fix a ParserK to ParserD conversion bug 2024-08-02 17:10:54 +05:30
Adithya Kumar
7fbc066e73 Add a test case for ParserK.toParser 2024-08-02 17:10:54 +05:30
Harendra Kumar
f64ff6d5b9 Disable failing Event.Linux tests for ghc-8.10 2024-08-02 16:37:14 +05:30
Harendra Kumar
d12e30b46f Add some debug code in Event.Linux tests 2024-08-01 08:17:30 +05:30
Harendra Kumar
fb9ba3509a Fix FileSystem.Event.Linux test cases
Use takeDirectory correctly.
2024-08-01 08:17:30 +05:30
Harendra Kumar
cd9b9c12b3 Update cabal description for streamly-core package 2024-07-29 19:52:54 +05:30
Harendra Kumar
be7cf9fb3f Remove broken links from streamly.cabal file 2024-07-29 19:52:54 +05:30
Adithya Kumar
2c4820a45d Rename pokeAppend(May) to poke(May) in MutArray 2024-07-29 15:31:33 +05:30
Adithya Kumar
d049940ae8 Rename the APIs in the MutByteArray module 2024-07-29 15:31:33 +05:30
Adithya Kumar
861287f7e4 Add documentation to MutArray.(pinned)Clone 2024-07-29 15:31:33 +05:30
Adithya Kumar
00ef122f1a Add a new CPP helper for renaming 2024-07-29 15:31:33 +05:30
Adithya Kumar
3e9c3a376e Rename several APIs in MutArray module
castUnsafe => unsafeCast
newArrayWith => emptyWithAligned
getSliceUnsafe => unsafeGetSlice
createOfWith => createWithOf (argument order convention)
putIndexUnsafe => unsafePutIndex
modifyIndexUnsafe => unsafeModifyIndex
getIndexUnsafe => unsafeGetIndex
realloc => reallocBytes
snocUnsafe => unsafeSnoc
spliceUnsafe => unsafeSplice
pokeSkipUnsafe => unsafePokeSkip
peekUncons => peek
peekUnconsUnsafe => unsafePeek
peekSkipUnsafe => unsafePeekSkip
2024-07-29 15:31:33 +05:30
Adithya Kumar
98b13ca2ba Implement Array.unsafeAsForeignPtr 2024-07-29 15:31:33 +05:30
Adithya Kumar
aa27315c43 Modify unsafe(Pinned)AsPtr & introduce unsafe(Pinned)CreateUsingPtr
unsafe(Pinned)AsPtr is used to read and overwrite
unsafe(Pinned)CreateUsingPtr is used to create
2024-07-29 15:31:33 +05:30
Harendra Kumar
090e8e61af Fix cabal version env var in circleci docspec ci 2024-07-27 02:11:53 +05:30
Harendra Kumar
9eecae3836 Fix docspec in Scanr module 2024-07-26 21:06:34 +05:30
Harendra Kumar
bc38063954 Rename the Scan type to Scanr 2024-07-26 21:06:34 +05:30
Harendra Kumar
3ce94bfd7f Rename the Scan module to Scanr 2024-07-26 19:54:57 +05:30
Harendra Kumar
55eba23f64 Rename runScan for streams to scanr 2024-07-26 19:54:08 +05:30
Harendra Kumar
d7801be73a Add Scanr vs Stream comments 2024-07-26 19:54:08 +05:30
Harendra Kumar
d9561e89cb Share the Stream Step with Scan as well 2024-07-26 19:54:08 +05:30
Harendra Kumar
de38ff7bd1 Change Scan Step to align it with Stream Step 2024-07-26 19:54:08 +05:30
Harendra Kumar
73272a235a Add basic documentation in the Scan module 2024-07-26 19:54:08 +05:30
Harendra Kumar
06a370787b Add more debug msgs in Event.Linux test 2024-07-26 19:52:20 +05:30
Harendra Kumar
ec77b87037 Add some explanatory comments in Fold.Containers 2024-07-26 15:10:24 +05:30
Harendra Kumar
b7bcc9bab6 Fix the pipe combinator in Fold.Combinators 2024-07-26 15:10:24 +05:30
Harendra Kumar
13fcb0514b Cleanup and document concurrent fold module 2024-07-26 15:10:24 +05:30
Harendra Kumar
14ae9469b5 Make minor doc updates in the MutByteArray module 2024-07-26 15:02:20 +05:30
Harendra Kumar
3e7ca18ca9 Update streamly-ecosystem, add compatibility packages 2024-07-26 15:01:24 +05:30
Harendra Kumar
c3536a8d4e Update replacing-other-packages, add compatiblity packages 2024-07-26 15:01:24 +05:30
Harendra Kumar
a83cf2f202 Update module-structure doc 2024-07-26 15:01:24 +05:30
Harendra Kumar
d05e37767c Update functionality-overview doc with more details
* structure
* reactive programming
* concurrency
* interworking
2024-07-26 15:01:24 +05:30
Harendra Kumar
07aa5fb83e Split examples out of functionality-overview 2024-07-26 15:01:24 +05:30
Harendra Kumar
45674b4826 Update functionality-overview description 2024-07-26 15:01:24 +05:30
Harendra Kumar
70725db939 Avoid locking a regular file during watch 2024-07-26 13:59:31 +05:30
Harendra Kumar
cadc6cf9bb Refactor fromChannelK 2024-07-26 13:41:58 +05:30
Harendra Kumar
fe38c4aaf3 Add some comments in dispatcher functions
Add a TODO comment about minThreads
2024-07-26 13:41:58 +05:30
Harendra Kumar
4e6db3f6c5 Add serialize/deserialize in MutArray 2024-07-26 06:57:14 +05:30
Harendra Kumar
d1a0f23425 Add/update minor doc/comments about serialization
Add a comment about array diagnostic method.
2024-07-26 06:57:14 +05:30
Harendra Kumar
2a070c0ae3 Refactor "realloc" to use "reallocSliceAs" 2024-07-26 06:57:14 +05:30
Adithya Kumar
a6634be5e2 Fix unused imports for ghc-9.10 2024-07-21 03:18:21 +05:30
Adithya Kumar
626db35d71 Disable Non-blocking IO on watch fd on Linux
GHC uses fdStat to determine the fd type when setting non-blocking IO
and fdStat fails with Unsupported type.

Not sure if it is right to not use non-blocking, but the tests seem to be
passing right now.
2024-07-21 03:18:21 +05:30
Adithya Kumar
e8e310cb91 Add a CI for macos 2024-07-21 03:18:21 +05:30
Adithya Kumar
ab73c29d3b Constraint the atomic-primops dependency
See: https://gitlab.haskell.org/ghc/ghc/-/issues/25010
2024-07-21 03:18:21 +05:30