1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:28:12 +00:00
serenity/Userland/Libraries/LibCore
Andreas Kling 9601b516b8 LibCore: Remove awkward EventLoop::wake_once() API
This was used in exactly one place, to avoid sending multiple
CustomEvents to the enqueuer thread in Audio::ConnectionToServer.

Instead of this, we now just send a CustomEvent and wake the enqueuer
thread. If it wakes up and has multiple CustomEvents, they get delivered
and ignored in no time anyway. Since they only get ignored if there's
no work to be done, this seems harmless.
2023-04-25 14:48:40 +02:00
..
Account.cpp AK+Everywhere: Change AK::fill_with_random to accept a Bytes object 2023-04-03 15:53:49 +02:00
Account.h LibCore: Add a deleted state for Account 2022-12-31 04:24:05 -07:00
AnonymousBuffer.cpp LibCore: Convert AnonymousBuffer to use System::anon_create 2022-02-10 21:35:17 +01:00
AnonymousBuffer.h LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
ArgsParser.cpp LibCore: Remove colons from markdown header names in ArgsParser 2023-04-01 11:49:57 +01:00
ArgsParser.h LibCore+Userland: Remove ArgsParser::add*(Vector<char const*>&) 2023-03-01 10:47:19 +01:00
CMakeLists.txt LibFileSystem: Move TempFile from LibCore to LibFileSystem 2023-03-21 19:03:21 +00:00
Command.cpp LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
Command.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ConfigFile.cpp Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
ConfigFile.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
DateTime.cpp LibCore: Add DateTime::to_string() 2023-03-27 20:29:51 +01:00
DateTime.h LibCore: Add DateTime::to_string() 2023-03-27 20:29:51 +01:00
Debounce.h LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr 2023-01-12 11:25:51 +01:00
DeferredInvocationContext.h Libraries: Use default constructors/destructors in LibCore 2022-03-10 18:04:26 -08:00
DeprecatedFile.cpp LibCore: Remove all unused DeprecatedFile functions 2023-03-21 19:03:21 +00:00
DeprecatedFile.h LibCore: Remove all unused DeprecatedFile functions 2023-03-21 19:03:21 +00:00
Directory.cpp LibCore: Introduce a new directory iteration API 2023-03-05 20:23:42 +01:00
Directory.h LibCore: Introduce a new directory iteration API 2023-03-05 20:23:42 +01:00
DirectoryEntry.cpp LibCore: Don't use DT_WHT in DirectoryEntry on OpenBSD 2023-03-06 12:53:01 +00:00
DirectoryEntry.h LibCore: Expose file type from DirIterator 2023-03-05 20:23:42 +01:00
DirIterator.cpp LibCore+Everywhere: Return an Error from DirIterator::error() 2023-03-05 20:23:42 +01:00
DirIterator.h LibCore+Everywhere: Return an Error from DirIterator::error() 2023-03-05 20:23:42 +01:00
ElapsedTimer.cpp LibCore+LibWeb: Use AK::Time instead of timeval in Core::ElapsedTimer 2023-01-07 14:51:04 +01:00
ElapsedTimer.h LibCore+LibWeb: Use AK::Time instead of timeval in Core::ElapsedTimer 2023-01-07 14:51:04 +01:00
Event.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Event.h Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
EventLoop.cpp LibCore: Remove awkward EventLoop::wake_once() API 2023-04-25 14:48:40 +02:00
EventLoop.h LibCore: Remove awkward EventLoop::wake_once() API 2023-04-25 14:48:40 +02:00
File.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
File.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00: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 LibCore: Allow subclassing FileWatcher 2023-01-19 11:29:48 +00:00
FileWatcherLinux.cpp LibCore+ConfigServer: Add FileWatcherFlags to replace InodeWatcherFlags 2023-01-18 09:37:11 -05:00
FileWatcherMacOS.mm LibCore: Implement FileWatcher for macOS 2023-01-19 11:29:48 +00:00
FileWatcherSerenity.cpp LibCore+ConfigServer: Add FileWatcherFlags to replace InodeWatcherFlags 2023-01-18 09:37:11 -05:00
FileWatcherUnimplemented.cpp LibCore+ConfigServer: Add FileWatcherFlags to replace InodeWatcherFlags 2023-01-18 09:37:11 -05:00
Forward.h LibCore: Add Promise to the forward declare header 2023-03-13 12:12:17 +00: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 LibCore+Utilities: Replace uses of strpbrk with find_any_of() 2023-02-25 22:31:17 +01:00
Group.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
IODevice.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
IODevice.h AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
LocalServer.cpp LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LocalServer.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
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 Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
MappedFile.h LibCore: Add MappedFile::map_from_file() 2023-02-16 10:56:01 +00:00
MimeData.cpp Userland: Use more common WAV MIME type 2023-03-17 22:20:16 +00:00
MimeData.h LibCore: Use fallible version of StringBuilder::to_byte_buffer 2023-03-09 12:59:57 +00:00
NetworkJob.cpp Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
NetworkJob.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
NetworkResponse.h Libraries: Use default constructors/destructors in LibCore 2022-03-10 18:04:26 -08:00
Notifier.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
Notifier.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Object.cpp LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macro 2023-03-16 09:58:42 +01:00
Object.h AK: Add new failable JsonArray::{append/set} functions 2023-04-24 09:21:51 +02:00
Process.cpp LibCore: Get the environment in Core::Process::spawn() on macOS 2023-03-24 22:06:38 +00:00
Process.h LibCore: Add KeepAsChild option to Core::Process::spawn() 2023-03-24 22:06:38 +00:00
ProcessStatisticsReader.cpp Kernel+Userland: Remove the nfds entry from /sys/kernel/processes 2023-04-21 13:55:23 +02:00
ProcessStatisticsReader.h Kernel+Userland: Remove the nfds entry from /sys/kernel/processes 2023-04-21 13:55:23 +02:00
Promise.h LibCore+Userland: Make Promise's on_resolve fallible 2023-03-13 12:12:17 +00:00
Property.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Property.h LibCore: Support write-only Object properties 2022-12-09 00:05:30 +01:00
Proxy.h LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
SecretString.cpp LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
SecretString.h LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
SessionManagement.cpp Kernel+LibCore: Make %sid path parsing not take ages 2023-01-10 19:32:31 +01:00
SessionManagement.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SharedCircularQueue.h LibCore: Remove try_ prefix from fallible SharedCircularQueue methods 2023-01-28 22:41:36 +01:00
Socket.cpp LibCore: Implement socket credentials for Solaris 2023-03-04 21:34:54 -07:00
Socket.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
SocketAddress.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SOCKSProxyClient.cpp LibCore: Use length-checking stream reads and writes for SOCKS5 2023-03-13 15:16:20 +00:00
SOCKSProxyClient.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
StandardPaths.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
StandardPaths.h LibCore: Add StandardPaths::font_directories() 2023-01-11 20:54:49 +00:00
System.cpp Kernel: Allow configuring a Jail to not impose PID isolation restriction 2023-04-24 12:15:29 +02:00
System.h Kernel: Allow configuring a Jail to not impose PID isolation restriction 2023-04-24 12:15:29 +02:00
SystemServerTakeover.cpp LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
SystemServerTakeover.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
TCPServer.cpp LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
TCPServer.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
Timer.cpp LibCore+Userland: Don't auto-start new Core::Timers 2023-01-12 11:25:51 +01:00
Timer.h LibCore+Userland: Don't auto-start new Core::Timers 2023-01-12 11:25:51 +01:00
UDPServer.cpp LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer> 2022-12-20 10:45:20 +01:00
UDPServer.h LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer> 2022-12-20 10:45:20 +01:00
UmaskScope.h Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
Version.cpp LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00
Version.h LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00