Johannes Müller
Johannes Müller
As suggested in https://github.com/crystal-lang/crystal/pull/14937#pullrequestreview-2257752150
Resolves #14934 `XML::Error.errors` collects all error messages from libxml2. Using it is deprecated, but without any calls to it, the error array is never cleared. So we're dropping it because...
`XML::Error` has a class variable `@@errors` which accumulates error messages from calls into `libxml2`. It's accessible via the class method `XML::Error.errors` which returns the current items and resets the instance...
`Channel.select_impl` allocates an array for all action locks, even if there is only a single one (https://github.com/crystal-lang/crystal/pull/12694#issuecomment-1296196003). This can be avoided. Most typically it should only be a handful of...
The `Digest` class behaves as a stream writer, so it would make sense to have it inherit `IO`. This would allow using `Digest` implementations as data sink in an IO...
Two of our aarch64 CI jobs consistently fail with an invalid memory access while building `std_spec` since #10889. Latest master runs: * aarch64 `musl-test-stdlib`: https://github.com/crystal-lang/crystal/runs/3977186749?check_suite_focus=true * smoke `aarch64-darwin`: https://github.com/crystal-lang/crystal/runs/3975877315?check_suite_focus=true The...
Adds documentation about which library versions are supported by the various lib bindings. I'm planning to put that information on https://crystal-lang.org/reference/1.13/man/required_libraries.html as well. The URLs to this page should hopefully...
When passing a path to the `--output` option with a non-existent directory, the compiler generates an unintelligible error message. ```console $ bin/crystal build empty.cr -o notexist/empty.o --cross-compile No such file...
An interpreter built with a LLVM 18 compiler crashes with invalid memory access when using a 128-bit integer type. The reproduction requires a compiler with LLVM 18 which builds a...