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
Account.cpp
Account.h
AnonymousBuffer.cpp
AnonymousBuffer.h
ArgsParser.cpp
ArgsParser.h
CMakeLists.txt LibCore: Create a system time zone watcher 2024-08-25 09:47:42 +02:00
Command.cpp
Command.h
ConfigFile.cpp
ConfigFile.h
DateTime.cpp
DateTime.h
Debounce.h
DeferredInvocationContext.h
Directory.cpp
Directory.h
DirectoryEntry.cpp
DirectoryEntry.h
DirIterator.cpp
DirIterator.h
ElapsedTimer.cpp
ElapsedTimer.h
Environment.cpp
Environment.h
Event.cpp
Event.h
EventLoop.cpp
EventLoop.h
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
EventReceiver.cpp
EventReceiver.h
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
LocalServer.cpp
LocalServer.h
LockFile.cpp
LockFile.h
MachPort.cpp
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
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
NetworkJob.cpp
NetworkJob.h
NetworkResponse.h
Notifier.cpp
Notifier.h
Process.cpp
Process.h
ProcessStatisticsReader.cpp
ProcessStatisticsReader.h
Promise.h
Proxy.h
Resource.cpp
Resource.h
ResourceImplementation.cpp
ResourceImplementation.h
ResourceImplementationFile.cpp
ResourceImplementationFile.h
SecretString.cpp
SecretString.h
SessionManagement.cpp
SessionManagement.h
SharedCircularQueue.h
Socket.cpp
Socket.h
SocketAddress.h
SOCKSProxyClient.cpp
SOCKSProxyClient.h
StandardPaths.cpp
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
TCPServer.h
ThreadedPromise.h
ThreadEventQueue.cpp
ThreadEventQueue.h
Timer.cpp
Timer.h
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
Version.h
VulkanContext.cpp
VulkanContext.h