Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00
Lukasz Maciejewski
7e5199a394
LibTextCodec: Fix minor errors in Latin2 decoder
2020-12-28 23:31:12 +01:00
Łukasz Maciejewski
518ba73dcb
LibTextCodec: Add Latin2 text decoder ( #4579 )
2020-12-27 22:44:38 +01:00
Andreas Kling
024059b49b
LibTextCodec: Normalize incoming encodings in decoder_for()
...
Instead of asserting when you call TextCoded::decoder_for() with a
non-standard encoding name, let's be nice and see if we can't find a
decoder for the standardized version of the encoding name.
2020-12-13 18:20:50 +01:00
Luke
f3d2053bff
LibTextCodec: Add a function to convert encodings to standardized names
...
https://encoding.spec.whatwg.org/#names-and-labels
2020-11-14 10:14:03 +01:00
Ben Wiederhake
69a0502f80
LibTextCodec: Mark compilation-unit-only functions as static
...
This enables a nice warning in case a function becomes dead code.
2020-08-12 20:40:59 +02:00
Nico Weber
ce95628b7f
Unicode: Try s/codepoint/code_point/g again
...
This time, without trailing 's'. Ran:
git grep -l 'codepoint' | xargs sed -ie 's/codepoint/code_point/g
2020-08-05 22:33:42 +02:00
Nico Weber
19ac1f6368
Revert "Unicode: s/codepoint/code_point/g"
...
This reverts commit ea9ac3155d
.
It replaced "codepoint" with "code_points", not "code_point".
2020-08-05 22:33:42 +02:00
Andreas Kling
ea9ac3155d
Unicode: s/codepoint/code_point/g
...
Unicode calls them "code points" so let's follow their style.
2020-08-03 19:06:41 +02:00
Nico Weber
01522b8d71
LibTextCodec: Simplify Latin1Decoder::to_utf8
...
No intended behavior change.
2020-07-22 19:16:00 +02:00
Andreas Kling
893a9ff5b0
LibTextCodec: Improve Latin-1 decoder so it decodes everything
...
I can now see Swedish letters when opening Google in the browser. :^)
2020-05-27 19:52:18 +02:00
Sergey Bugaev
450a2a0f9c
Build: Switch to CMake :^)
...
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-14 20:15:18 +02:00
Andreas Kling
e09b83c60c
LibTextCodec: Start fleshing out a simple text codec library
...
We're starting with a very basic decoding API and only ISO-8859-1 and
UTF-8 decoding (and UTF-8 decoding is really a no-op since String is
expected to be UTF-8.)
2020-05-03 23:01:58 +02:00