ladybird/Userland/Libraries/LibCore
Shannon Booth e2e7c4d574 Everywhere: Use to_number<T> instead of to_{int,uint,float,double}
In a bunch of cases, this actually ends up simplifying the code as
to_number will handle something such as:

```
Optional<I> opt;
if constexpr (IsSigned<I>)
    opt = view.to_int<I>();
else
    opt = view.to_uint<I>();
```

For us.

The main goal here however is to have a single generic number conversion
API between all of the String classes.
2023-12-23 20:41:07 +01:00
..
Account.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Account.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AnonymousBuffer.cpp Userland+Tests: Don't use MAP_FILE when mmap-ing 2023-09-01 19:50:35 +02:00
AnonymousBuffer.h LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
ArgsParser.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
ArgsParser.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CMakeLists.txt LibCore: Add Resource for platform agnostic application resource loading 2023-10-17 11:02:01 -06:00
Command.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Command.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ConfigFile.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ConfigFile.h Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
DateTime.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DateTime.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Debounce.h Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
DeferredInvocationContext.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Directory.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Directory.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DirectoryEntry.cpp LibCore: Ignore non-S_IFMT bits in directory_entry_type_from_stat 2023-12-01 20:46:16 +01:00
DirectoryEntry.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DirIterator.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DirIterator.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ElapsedTimer.cpp Everywhere: Use MonotonicTime instead of Duration 2023-05-24 23:18:07 +02:00
ElapsedTimer.h Everywhere: Use MonotonicTime instead of Duration 2023-05-24 23:18:07 +02:00
Event.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Event.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
EventLoop.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
EventLoop.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
EventLoopImplementation.cpp LibCore: Move post_event() back to EventLoopImplementation 2023-04-26 19:17:04 +01:00
EventLoopImplementation.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
EventLoopImplementationUnix.cpp LibCore: Only use coarse time in the Unix event loop wait_for_events() 2023-08-07 13:38:20 +02:00
EventLoopImplementationUnix.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
EventReceiver.cpp LibCore: Don't print class_name() from EventReceiver::stop_timer() 2023-09-01 11:19:18 +02:00
EventReceiver.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
File.cpp LibCore: Keep track of file offset to avoid system call for tell() 2023-07-06 21:05:57 +02:00
File.h AK+LibCore: Make output buffered stream seekable 2023-08-12 12:25:26 -06:00
FilePermissionsMask.cpp LibCore: Implement four-digit modes for FilePermissionsMask parsing 2022-07-27 21:45:01 +00:00
FilePermissionsMask.h Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
FileWatcher.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FileWatcherLinux.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FileWatcherMacOS.mm Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FileWatcherSerenity.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FileWatcherUnimplemented.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Forward.h LibCore: Add Resource for platform agnostic application resource loading 2023-10-17 11:02:01 -06:00
GetPassword.cpp LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
GetPassword.h LibCore: Use ErrorOr<T> for Core::get_password() 2021-11-08 00:35:27 +01:00
Group.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Group.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
LocalServer.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
LocalServer.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
LockFile.cpp LibCore+Userland: Remove File::ensure_parent_directories 2022-04-11 00:08:48 +02:00
LockFile.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
MappedFile.cpp AK: Use an enum to specify the open mode instead of a bool 2023-11-08 18:19:34 +01:00
MappedFile.h AK: Use an enum to specify the open mode instead of a bool 2023-11-08 18:19:34 +01:00
MimeData.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
MimeData.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
NetworkJob.cpp LibCore: Don't implement pure virtual methods in NetworkJob 2023-07-03 23:29:28 +02:00
NetworkJob.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
NetworkResponse.h Libraries: Use default constructors/destructors in LibCore 2022-03-10 18:04:26 -08:00
Notifier.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Notifier.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Process.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Process.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ProcessStatisticsReader.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ProcessStatisticsReader.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Promise.h LibCore: Check if a promise is already resolved in Promise::map() 2023-08-31 11:10:09 +02:00
Proxy.h AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Resource.cpp LibCore: Add a Resource method to create a file:// URL from a resource 2023-11-06 09:39:59 +01:00
Resource.h LibCore: Add a Resource method to create a file:// URL from a resource 2023-11-06 09:39:59 +01:00
ResourceImplementation.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ResourceImplementation.h LibCore: Do not return an Optional from Resource:::filesystem_path 2023-11-06 09:39:59 +01:00
ResourceImplementationFile.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ResourceImplementationFile.h LibCore: Do not return an Optional from Resource:::filesystem_path 2023-11-06 09:39:59 +01:00
SecretString.cpp LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
SecretString.h LibCore: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes in default impls 2023-06-18 08:47:51 +01:00
SessionManagement.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SessionManagement.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SharedCircularQueue.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Socket.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Socket.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SocketAddress.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SOCKSProxyClient.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SOCKSProxyClient.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
StandardPaths.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
StandardPaths.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
System.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
System.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SystemServerTakeover.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
SystemServerTakeover.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TCPServer.cpp LibCore: Use accept instead of accept4 on Haiku 2023-09-17 13:38:12 -06:00
TCPServer.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
ThreadedPromise.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
ThreadEventQueue.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
ThreadEventQueue.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Timer.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
Timer.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
UDPServer.cpp Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
UDPServer.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
UmaskScope.h Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
Version.cpp LibCore: Add default version for Lagom applications 2023-08-27 19:01:32 -04:00
Version.h LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00