Andrew Kaster
828441852f
Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY
...
Now that we have OS macros for essentially every supported OS, let's try
to use them everywhere.
2022-10-10 12:23:12 +02:00
Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
ef1e5db1d0
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
...
Good-bye LogStream. Long live AK::Format!
2021-03-12 17:29:37 +01:00
Andreas Kling
4d9ce42532
AK: Remove unused kprintf macro
...
This hasn't been used for quite some time.
2021-02-20 17:21:03 +01:00
Andreas Kling
8d98051551
AK+LibC: Remove dbgprintf() :^)
...
Everything has been moved to dbgln() or other AK::Format-based APIs.
We can finally get rid of this old thing.
2021-02-20 17:17:30 +01:00
Sahan Fernando
6b01d1cf14
LibC: Enable compiler warnings for printf format strings
2020-12-26 10:05:50 +01:00
asynts
59e7ffa86d
AK: Make the return type of dbgputstr consistent.
2020-10-04 19:18:32 +02:00
Ben Wiederhake
0240baa42d
AK+Kernel: Support snprintf
...
In contrast to sprintf, which might overflow the given buffer.
I feel bad about the code duplication, but that is a pre-existing issue.
2020-08-22 20:55:10 +02:00
Nico Weber
0586924bbd
LibELF+Lagom: Work towards getting LibELF in Lagom
...
Mostly -Wformat fixes, some of which pointed out real (if benign) bugs.
2020-08-09 21:12:54 +02:00
Andreas Kling
3055f73d48
AK+Kernel+LibC: Add vdbgprintf()
...
This is like dbgprintf() except it takes a va_list instead of ...
2020-08-06 13:36:06 +02:00
Andreas Kling
dd924b730a
Kernel+LibC: Fix various build issues introduced by ssize_t
...
Now that ssize_t is derived from size_t, we have to
2020-05-23 15:27:33 +02:00
Andreas Kling
8fe4512f8e
AK: Fix inconsistent signature for dbgputstr()
2020-05-23 15:25:43 +02:00
Andreas Kling
21d5f4ada1
Kernel: Absorb LibBareMetal back into the kernel
...
This was supposed to be the foundation for some kind of pre-kernel
environment, but nobody is working on it right now, so let's move
everything back into the kernel and remove all the confusion.
2020-05-16 12:00:04 +02:00
Andreas Kling
20e58c5513
AK: Make dbgprintf() and dbgputstr() go to stderr on non-Serenity hosts
2020-04-06 10:49:27 +02:00
Andreas Kling
f27a646bf5
AK: Don't bring in LibBareMetal's kstdio.h in userspace
2020-02-15 19:18:56 +01:00
Andreas Kling
175cd4d9c2
AK: Fix broken #include statement
2020-02-15 13:28:33 +01:00
Liav A
8bdb08c354
AK: Apply changes for the Bootstrapper environment
2020-02-09 19:38:17 +01:00
Andreas Kling
94ca55cefd
Meta: Add license header to source files
...
As suggested by Joshua, this commit adds the 2-clause BSD license as a
comment block to the top of every source file.
For the first pass, I've just added myself for simplicity. I encourage
everyone to add themselves as copyright holders of any file they've
added or modified in some significant way. If I've added myself in
error somewhere, feel free to replace it with the appropriate copyright
holder instead.
Going forward, all new source files should include a license header.
2020-01-18 09:45:54 +01:00
Andreas Kling
af81645a2a
Kernel+LibC: Add a dbgputstr() syscall for sending strings to debug output.
...
This is very handy for the DebugLogStream implementation, among others. :^)
2019-07-21 21:43:37 +02:00
Andreas Kling
7e1cb86da7
LibHTML: Make it possible to build LibHTML on the host.
...
- "make" builds the normal Serenity libhtml.a
- "make -f Makefile.host" builds a test program for the host machine.
2019-06-22 21:21:57 +02:00
Andreas Kling
114768562a
AK: Including <AK/kstdio.h> should pull in <stdio.h> etc on host builds.
2019-06-18 08:53:26 +02:00
Andreas Kling
b5c76d7559
Get rid of #ifdef SERENITY. We're past that phase of bootstrapping.
2019-01-17 01:41:36 +01:00
Andreas Kling
63764b3a65
Import very modest Userland.
2018-10-22 14:06:22 +02:00
Andreas Kling
7580ac576f
Make VFS host build work again.
2018-10-17 12:23:19 +02:00
Andreas Kling
aec8ab0a60
Add the basic character devices to kernel.
2018-10-16 14:33:16 +02:00