serenity/Libraries/LibCore
Matthew Olsson e8e728454c AK: JsonParser improvements
- Parsing invalid JSON no longer asserts
    Instead of asserting when coming across malformed JSON,
    JsonParser::parse now returns an Optional<JsonValue>.
- Disallow trailing commas in JSON objects and arrays
- No longer parse 'undefined', as that is a purely JS thing
- No longer allow non-whitespace after anything consumed by the initial
  parse() call. Examples of things that were valid and no longer are:
    - undefineddfz
    - {"foo": 1}abcd
    - [1,2,3]4
- JsonObject.for_each_member now iterates in original insertion order
2020-06-13 12:43:22 +02:00
..
ArgsParser.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
ArgsParser.h LibCore: Allow ArgsParser::parse() to not exit on failure 2020-05-17 11:58:08 +02:00
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
ConfigFile.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
ConfigFile.h
DateTime.cpp LibCore: Add a primitive comparison function to DateTime 2020-05-07 10:23:58 +02:00
DateTime.h LibCore: Add a primitive comparison function to DateTime 2020-05-07 10:23:58 +02:00
DirIterator.cpp Misc: Replace "String(string_view)" with "string_view.to_string()" 2020-05-06 19:28:59 +02:00
DirIterator.h
ElapsedTimer.cpp
ElapsedTimer.h
Event.cpp
Event.h
EventLoop.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
EventLoop.h LibCore: Do not assert that we can start the RPC server 2020-05-29 07:53:30 +02:00
File.cpp LibCore: Add Core::File::real_path_for() 2020-06-12 21:29:01 +02:00
File.h LibCore: Add Core::File::real_path_for() 2020-06-12 21:29:01 +02:00
Forward.h LibCore: Fix typo in Forward.h 2020-06-11 22:44:54 +02:00
Gzip.cpp LibCore: Trim decompressed Gzip output to size 2020-04-28 09:32:33 +02:00
Gzip.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
IODevice.cpp LibCore: Make IODevice::can_read_line() const 2020-05-15 09:50:48 +02:00
IODevice.h LibCore: Make IODevice::can_read_line() const 2020-05-15 09:50:48 +02:00
IODeviceStreamReader.h
LocalServer.cpp Lagom: Adjust AK, LibCore and LibTLS to build on MacOS 2020-05-30 00:36:13 +02:00
LocalServer.h
LocalSocket.cpp
LocalSocket.h
MimeData.cpp
MimeData.h
NetworkJob.cpp ProtocolServer: Implement and handle download progress 2020-05-03 12:59:26 +02:00
NetworkJob.h ProtocolServer: Implement and handle download progress 2020-05-03 12:59:26 +02:00
NetworkResponse.cpp
NetworkResponse.h
Notifier.cpp
Notifier.h
Object.cpp
Object.h
ProcessStatisticsReader.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
ProcessStatisticsReader.h
puff.c
puff.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
Socket.cpp LibCore: Make sure to disable notifiers when closing a socket 2020-06-08 13:58:32 +02:00
Socket.h LibCore+LibTLS: Don't keep a "ready to write" notifier on all Sockets 2020-05-18 20:16:52 +02:00
SocketAddress.cpp
SocketAddress.h
StandardPaths.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
StandardPaths.h LibCore: Add a standard downloads directory (~/Downloads) 2020-05-05 23:56:57 +02:00
SyscallUtils.h
TCPServer.cpp Build: Make Lagom build under macOS (#2341) 2020-05-23 15:31:30 +02:00
TCPServer.h
TCPSocket.cpp Build: Make Lagom build under macOS (#2341) 2020-05-23 15:31:30 +02:00
TCPSocket.h
Timer.cpp LibCore: Add Timer::restart() convenience API 2020-06-11 22:35:37 +02:00
Timer.h LibCore: Add Timer::restart() convenience API 2020-06-11 22:35:37 +02:00
UDPServer.cpp Build: Make Lagom build under macOS (#2341) 2020-05-23 15:31:30 +02:00
UDPServer.h LibCore: Fix UDPServer up to properly receive data 2020-04-04 12:25:33 +02:00
UDPSocket.cpp Build: Make Lagom build under macOS (#2341) 2020-05-23 15:31:30 +02:00
UDPSocket.h