Tim Schumacher
a3f73e7d85
AK: Rename Stream::read_entire_buffer to Stream::read_until_filled
...
No functional changes.
2023-03-13 15:16:20 +00:00
Tim Schumacher
874c7bba28
LibCore: Remove Stream.h
2023-02-13 00:50:07 +00:00
Tim Schumacher
606a3982f3
LibCore: Move Stream-based file into the Core
namespace
2023-02-13 00:50:07 +00:00
Sam Atkins
d55f763fcd
Tests: Replace uses of JsonObject::get_deprecated()/get_ptr()
2023-01-26 09:57:14 -05:00
Sam Atkins
1dd6b7f5b7
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
...
This is a preparatory step to making `get()` return `ErrorOr`.
2023-01-17 19:52:52 -05:00
Tim Schumacher
9a3e95785e
LibCore: Propagate errors from Stream::*_entire_buffer
2022-12-12 14:16:42 +01:00
Tim Schumacher
6c7c5a6786
LibCore: Rename Stream::*_or_error
to *_entire_buffer
...
All of our functions are `_or_error` (or are about to be), and maybe
making it less reminiscient of AK::Stream will make people use it more.
2022-12-12 14:16:42 +01:00
Linus Groh
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
...
We have a new, improved string type coming up in AK (OOM aware, no null
state), and while it's going to use UTF-8, the name UTF8String is a
mouthful - so let's free up the String name by renaming the existing
class.
Making the old one have an annoying name will hopefully also help with
quick adoption :^)
2022-12-06 08:54:33 +01:00
sin-ack
3f3f45580a
Everywhere: Add sv suffix to strings relying on StringView(char const*)
...
Each of these strings would previously rely on StringView's char const*
constructor overload, which would call __builtin_strlen on the string.
Since we now have operator ""sv, we can replace these with much simpler
versions. This opens the door to being able to remove
StringView(char const*).
No functional changes.
2022-07-12 23:11:35 +02:00
Brian Gianforcaro
97f622747b
Everywhere: Move commonmark.spec.json to /home/anon/Tests
2022-03-20 22:20:59 +01:00
Sam Atkins
2b2ddee77c
Tests: Port TestCommonmark to Core::Stream
...
This passes the same number of tests that it did before this change:
> Out of 652 tests, 273 passed and 379 failed.
2022-03-10 12:04:22 -05:00
Peter Elliott
33d7fdca28
Everywhere: Use my cool new @serenityos.org email address
2021-09-01 11:37:25 +04:30
Peter Elliott
8d2c04821f
Tests: Test LibMarkdown against commonmark test suite
...
TestCommonmark runs the CommonMark test suite
(https://spec.commonmark.org/0.30/spec.json ) against LibMarkdown.
Currently 44/652 tests pass.
2021-08-31 16:53:51 +02:00