stasoid
49bdda1475
AK: Simplify usage of windows.h and winsock2.h
...
Use <AK/Windows.h> instead of windows.h/winsock2.h
to avoid timeval-related errors.
Note: winsock2.h includes windows.h
2025-01-02 10:17:51 -07:00
stasoid
15a96e841b
Meta: Make pthread and mman available for all libraries on Windows
...
by default
2024-12-18 05:55:58 +01:00
R-Goc
bebf787c36
LibCore: Add ProcessWindows.cpp to CMakeLists
2024-12-06 13:11:44 +00:00
stasoid
163ec18593
LibCore: Fix link error in EventLoopImplementationWindows.cpp
2024-12-02 10:12:57 +01:00
stasoid
d224d1f22c
LibCore: Fix pthread-related errors on Windows
...
Fixes compilation error in Notifier.h and
link errors in ThreadEventQueue.cpp
2024-11-29 10:50:00 +01:00
Andrew Kaster
0075048206
LibCore: Remove SessionManagement utilities
...
We don't need these, they are only relevant for SerenityOS system
builds of LibCore.
2024-11-26 11:00:48 +01:00
stasoid
b3464d0645
LibCore: Port MappedFile to Windows
2024-11-26 10:00:11 +01:00
stasoid
3f7affa825
LibCore/System: Add mmap, munmap for Windows
2024-11-26 10:00:11 +01:00
stasoid
1c77135948
LibCore: Port EventLoop to Windows
2024-11-14 11:18:38 -07:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00
Itamar
0b0c09e647
LibCore: Add DirectoryWatcher
...
DirectoryWatcher is a wrapper around watch_file, and can be used to
watch for changes in directories.
2020-12-14 23:05:53 +01:00
Itamar
efe4da57df
Loader: Stabilize loader & Use shared libraries everywhere :^)
...
The dynamic loader is now stable enough to be used everywhere in the
system - so this commit does just that.
No More .a Files, Long Live .so's!
2020-12-14 23:05:53 +01:00
Peter Elliott
3d34724d37
LibCore: Add Core::Account for login management.
...
Core::Account abstracts login semantics like password checking and
switching uid/gid.
2020-09-21 20:18:05 +02:00
Andreas Kling
e2f32b8f9d
LibCore: Make Core::Object properties more dynamic
...
Instead of everyone overriding save_to() and set_property() and doing
a pretty asymmetric job of implementing the various properties, let's
add a bit of structure here.
Object properties are now represented by a Core::Property. Properties
are registered with a getter and setter (optional) in constructors.
I've added some convenience macros for creating and registering
properties, but this does still feel a bit bulky. We'll have to
iterate on this and see where it goes.
2020-09-15 21:46:26 +02:00
Itamar
7b66469ab3
LibCore: Add command() utility functions
...
Add utility functions for executing commands and getting their output.
2020-09-15 21:43:29 +02:00
Andreas Kling
5e2b8d160b
LibCore: Rename puff.c => puff.cpp
...
Now that we don't keep a C compiler around in the toolchain (to save
space) we can't have .c files in the build.
This reminds me that #362 exists and we should fix that at some point.
2020-07-29 14:41:57 +02:00
Peter Elliott
1211a036ba
LibCore: add get_password().
...
A serenity-style getpass that is thread-safe
2020-07-28 17:07:22 +02:00
Sergey Bugaev
450a2a0f9c
Build: Switch to CMake :^)
...
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-14 20:15:18 +02:00