ladybird/Userland/Libraries/LibCore
Timothy Flynn 577efcdc32 LibCore: Create a system time zone watcher
This creates platform-dependent monitors to detect when the system time
zone changes. On Linux, we use a file watcher to monitor files such as
/etc/localtime for changes. On macOS, this uses CFNotificationCenter to
be notified by the OS when the time zone changes.

Note: the macOS implementation requires running in a process which is
running the CoreFoundation event loop. Both the AppKit and Qt chromes
are doing so in the UI process, but this means we cannot run this
monitor in the WebContent process.
2024-08-25 09:47:42 +02:00
..
Platform LibCore: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
Account.cpp
Account.h
AnonymousBuffer.cpp
AnonymousBuffer.h
ArgsParser.cpp
ArgsParser.h LibCore: Make short_name optional for ArgsParser 2024-04-22 08:10:08 +02:00
CMakeLists.txt LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
Command.cpp Userland: Avoid some now-unneeded explicit conversions to Bytes 2024-04-04 11:23:21 +02:00
Command.h
ConfigFile.cpp Userland: Avoid some now-unneeded explicit conversions to Bytes 2024-04-04 11:23:21 +02:00
ConfigFile.h
DateTime.cpp LibCore+LibJS+LibUnicode: Port retrieving time zone offsets to ICU 2024-06-26 10:14:02 +02:00
DateTime.h LibCore: Allow formatting a DateTime in GMT 2024-04-02 07:51:02 +02:00
Debounce.h LibCore: Stop obsessing about tiny OOMs in Core::Timer 2024-04-17 07:16:52 +02:00
DeferredInvocationContext.h Revert "LibCore: Add Core::deferred_invoke_if(F, Condition)" 2024-05-21 23:32:54 +02:00
Directory.cpp
Directory.h
DirectoryEntry.cpp
DirectoryEntry.h
DirIterator.cpp
DirIterator.h
ElapsedTimer.cpp LibCore: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
ElapsedTimer.h LibCore: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
Environment.cpp LibCore: Be more BSD-friendly in Core::Environment 2024-06-06 12:48:58 -06:00
Environment.h
Event.cpp
Event.h
EventLoop.cpp Revert "LibCore: Add Core::deferred_invoke_if(F, Condition)" 2024-05-21 23:32:54 +02:00
EventLoop.h Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
EventLoopImplementation.cpp
EventLoopImplementation.h
EventLoopImplementationUnix.cpp LibCore: Log errors from pipe2 when creating an event loop 2024-07-23 09:04:42 +02:00
EventLoopImplementationUnix.h LibCore: Use Core::System::pipe2 for creating the event loops waking FDs 2024-03-13 12:52:07 -04:00
EventReceiver.cpp LibCore: Ignore timer events after stop() has been called 2024-03-25 14:16:55 +01:00
EventReceiver.h LibCore: Remove unnecessary or invalid write after child remove 2024-03-22 16:32:39 -04:00
File.cpp
File.h
FilePermissionsMask.cpp
FilePermissionsMask.h
FileWatcher.h LibCore: Add support for monitoring symbolic links 2024-08-25 09:47:42 +02:00
FileWatcherLinux.cpp LibCore: Add support for monitoring symbolic links 2024-08-25 09:47:42 +02:00
FileWatcherMacOS.mm LibCore: Improve support for the macOS file watcher with actual files 2024-08-25 09:47:42 +02:00
FileWatcherUnimplemented.cpp
Forward.h LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
GetPassword.cpp
GetPassword.h
Group.cpp
Group.h
IOSurface.cpp LibCore: Remove workarounds for system header global name conflicts 2024-07-18 09:43:38 +01:00
IOSurface.h LibCore+LibWeb: Use Metal backend for Skia painter on macOS 2024-06-28 14:25:34 +02:00
LocalServer.cpp LibCore: Add initializer for LocalServer from already connected socket 2024-04-27 20:32:12 -04:00
LocalServer.h LibCore: Add initializer for LocalServer from already connected socket 2024-04-27 20:32:12 -04:00
LockFile.cpp
LockFile.h
MachPort.cpp LibCore: Make MachPort build on GNU Mach 2024-05-02 07:46:53 -06:00
MachPort.h LibCore: Don't wrap <mach/mach.h> in extern "C" on Darwin 2024-08-19 12:56:55 +02:00
MappedFile.cpp
MappedFile.h
MetalContext.h LibCore+LibWeb: Use Metal backend for Skia painter on macOS 2024-06-28 14:25:34 +02:00
MetalContext.mm LibCore: Remove workarounds for system header global name conflicts 2024-07-18 09:43:38 +01:00
MimeData.cpp LibCore: Guess MIME type of .xhtml files to be application/xhtml+xml 2024-07-25 15:05:28 +02:00
MimeData.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
NetworkJob.cpp Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
NetworkJob.h Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
NetworkResponse.h
Notifier.cpp
Notifier.h LibCore: Make Timers and Notifiers aware of threads 2024-05-20 08:03:35 +02:00
Process.cpp LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
Process.h LibCore: Include full definition for LocalSocket 2024-07-02 10:27:45 +02:00
ProcessStatisticsReader.cpp Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
ProcessStatisticsReader.h
Promise.h
Proxy.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
Resource.cpp LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
Resource.h LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementation.cpp LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementation.h LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementationFile.cpp LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementationFile.h
SecretString.cpp
SecretString.h
SessionManagement.cpp Meta: Remove empty LibSystem library and references 2024-06-04 07:45:42 +02:00
SessionManagement.h
SharedCircularQueue.h
Socket.cpp LibCore: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
Socket.h LibCore: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
SocketAddress.h LibCore: Support IPv6 for TCP and UDP connection 2024-07-05 14:26:22 -06:00
SOCKSProxyClient.cpp
SOCKSProxyClient.h
StandardPaths.cpp Ladybird+LibCore+Meta: Update font paths and names for Android 2024-07-05 14:27:25 -06:00
StandardPaths.h
System.cpp LibCore: Use Error::from_syscall to report get/setrlimit errors 2024-07-31 10:12:37 -06:00
System.h LibCore: Add system call wrappers around getrlimit and setrlimit 2024-07-23 09:04:42 +02:00
SystemServerTakeover.cpp
SystemServerTakeover.h
TCPServer.cpp AK+Lagom: Make it possible to build for iOS 2024-03-03 13:13:42 -07:00
TCPServer.h
ThreadedPromise.h
ThreadEventQueue.cpp LibCore: Fix some thread-related memory/object leaks 2024-06-26 05:47:16 +02:00
ThreadEventQueue.h
Timer.cpp LibCore: Stop obsessing about tiny OOMs in Core::Timer 2024-04-17 07:16:52 +02:00
Timer.h LibCore: Stop obsessing about tiny OOMs in Core::Timer 2024-04-17 07:16:52 +02:00
TimeZoneWatcher.h LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
TimeZoneWatcherLinux.cpp LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
TimeZoneWatcherMacOS.mm LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
TimeZoneWatcherUnimplemented.cpp LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
UDPServer.cpp
UDPServer.h
UmaskScope.h
Version.cpp LibCore: Add a small library with only ArgsParser for DynamicLoader 2024-05-14 15:42:42 -06:00
Version.h
VulkanContext.cpp Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
VulkanContext.h LibWeb+LibCore: Use Vulkan backend for Skia on Linux 2024-07-05 07:13:13 +02:00