- 13 Sep, 2024 2 commits
-
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
- 12 Sep, 2024 5 commits
-
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
Remove allow-newer:*, allow-older:* in cabal.project file and instead list these explicitly. This is a big step for managing dependencies.
-
- 11 Sep, 2024 4 commits
-
-
Przemyslaw Kaminski authored
Maybe TBQueue is broken on CI: https://github.com/haskell/stm/issues/76
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
Also, changed exceptions to safe
-
- 10 Sep, 2024 2 commits
-
-
Przemyslaw Kaminski authored
-
Alexandre Delanoë authored
-
- 09 Sep, 2024 2 commits
-
-
Grégoire Locqueville authored
- Re-enable orphan warnings that were manually disabled in many modules - Remove non-Haskell files that were just sitting in the source tree - Remove modules that were not called from anywhere - Remove unused dependencies This is not exhaustive by any means. In particular, some more weeding out can be achieved by looking at individual functions and even branches of functions. Weeder can help with that.
-
Alexandre Delanoë authored
-
- 05 Sep, 2024 8 commits
-
-
Przemyslaw Kaminski authored
-
mzheng authored
-
Alexandre Delanoë authored
-
Alexandre Delanoë authored
-
Alexandre Delanoë authored
-
Alexandre Delanoë authored
Merge remote-tracking branch 'origin/393-api-openalex-fix-adapt-ngrams_url-field-following-an-api-change-causing-an-externalapierror' into dev
-
Fabien Maniere authored
-
Alexandre Delanoë authored
-
- 04 Sep, 2024 10 commits
-
-
Przemyslaw Kaminski authored
-
Fabien Maniere authored
-
Przemyslaw Kaminski authored
Also, set gargantext-settings.toml as the default file
-
Yoelis Acourt authored
-
Yoelis Acourt authored
-
Przemyslaw Kaminski authored
-
Alexandre Delanoë authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
- 03 Sep, 2024 5 commits
-
-
Yoelis Acourt authored
-
Yoelis Acourt authored
-
Alexandre Delanoë authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
- 02 Sep, 2024 2 commits
-
-
Alfredo Di Napoli authored
Remove the calls to `recvMalloc` in favour of using the (patched) `recv` from the original nanomsg library, which shouldn't segfault anymore. The reason for using `recv` are a few, but mostly the fact that `recv` can allocated arbitrary-long payloads data (up to the 1MB limit) without an hardcoded limit like `recvMalloc` was imposing. Furthermore, `recv` does resource cleanup for us via `c_nn_freemsg`, whereas `recvMalloc` is not thread/exception safe. Consider the implementation: ``` recvMalloc :: Receiver a => Socket a -> Int -> IO ByteString recvMalloc (Socket t sid) numBytes = do ptr <- mallocBytes numBytes -- receive by blocking the thread len <- c_nn_recv sid ptr (#const NN_MSG) 0 -- (#const NN_DONTWAIT) str <- C.packCStringLen (castPtr ptr, fromIntegral len) free ptr return str ``` If any exception (synchronous or asynchronous) strikes _before_ the call to `free`, we would be leaking C memory.
-
Alfredo Di Napoli authored
The `Dispatcher` type is now opaque and not exported by `.AsyncUpdates.Dispatcher`, and it has been moved out of the `.Types`. This ensures that we can make the internal record fields private, and offer accessors for things like `terminateDispatcher`. This preserve information hiding and allows us to change the internal way of terminating a dispatcher (for example switching away from normal `forkIO` in favour of `async` & co) while not breaking client's code.
-