Andreas Kling
de9edb0169
StringView: operator==(const char*) needs to stop when the view ends.
...
We were comparing past the end of the view, which was clearly not correct.
2019-06-07 19:22:58 +02:00
Andreas Kling
f90d75e5b9
Meta: Time for a new screenshot to keep things fresh. :^)
2019-06-07 18:14:13 +02:00
Andreas Kling
191112e457
Meta: Tweak ReadMe.
2019-06-07 17:57:03 +02:00
Andreas Kling
a0bde822ee
AK: Add IterationDecision.h.
2019-06-07 17:14:16 +02:00
Andreas Kling
39d1a9ae66
Meta: Tweak .clang-format to not wrap braces after enums.
2019-06-07 17:13:23 +02:00
Andreas Kling
9145917bf0
ELF: Run clang-format on everything.
2019-06-07 17:12:30 +02:00
Andreas Kling
e42c3b4fd7
Kernel: Rename LinearAddress => VirtualAddress.
2019-06-07 12:56:50 +02:00
Andreas Kling
0ed89440f1
ProcessManager+top: Rename "linear" size to "virtual" size.
...
I originally called it "linear" because that's how the Intel manual names
virtual addresses in many cases. I'm ready to accept that most people know
this as "virtual" so let's just call it that.
2019-06-07 12:44:29 +02:00
Andreas Kling
54448b5d24
Kernel: Syscall header should forward-declare timeval with C linkage.
2019-06-07 11:52:27 +02:00
Andreas Kling
2c70ae0418
Demos: Run clang-format on everything.
2019-06-07 11:50:05 +02:00
Andreas Kling
3ca332af42
LibM: Run clang-format on everything.
2019-06-07 11:49:47 +02:00
Andreas Kling
b07bbf383d
Userland: Run clang-format on everything.
2019-06-07 11:49:31 +02:00
Andreas Kling
f7ede145b4
Shell: Run clang-format on everything.
2019-06-07 11:49:21 +02:00
Andreas Kling
46527b72d7
LibC: Run clang-format on everything.
2019-06-07 11:49:03 +02:00
Andreas Kling
892acfb10d
VisualBuilder: Run clang-format on everything.
2019-06-07 11:48:27 +02:00
Andreas Kling
fba2c971e7
Games: Run clang-format on everything.
2019-06-07 11:48:15 +02:00
Andreas Kling
fd604a7c68
Applications: Run clang-format on everything.
2019-06-07 11:48:03 +02:00
Andreas Kling
e09c3a1ae8
SystemServer: Run clang-format on everything.
2019-06-07 11:47:46 +02:00
Andreas Kling
8358833bc8
WindowServer: Run clang-format on everything.
2019-06-07 11:47:19 +02:00
Andreas Kling
76b3337498
SharedGraphics: Run clang-format on everything.
2019-06-07 11:46:55 +02:00
Andreas Kling
7770d6a09d
LibCore: Run clang-format on everything.
2019-06-07 11:46:37 +02:00
Andreas Kling
b34b084619
AK: Run clang-format on everything.
2019-06-07 11:46:22 +02:00
Andreas Kling
7ad8790d80
LibGUI: Run clang-format on everything.
2019-06-07 11:46:02 +02:00
Andreas Kling
bc951ca565
Kernel: Run clang-format on everything.
2019-06-07 11:43:58 +02:00
Andreas Kling
98eeb8f22d
AK: Rename printf.cpp to PrintfImplementation.h.
2019-06-07 11:41:11 +02:00
Andreas Kling
1d5a3507b2
Userland: Add a little test program for the alarm() syscall.
2019-06-07 11:30:22 +02:00
Andreas Kling
d194ce828d
Kernel: Implement the alarm() syscall.
2019-06-07 11:30:07 +02:00
Andreas Kling
a2a6bb93bc
GScrollBar: Use increment/decrement naming consistently.
2019-06-07 10:56:30 +02:00
Andreas Kling
164742f316
GScrollBar: Keep scrolling while pushing down increment/decrement button.
2019-06-07 10:43:10 +02:00
Andreas Kling
0ece5fee14
GTextEditor: Set the vertical scrollbar step size to the line height.
...
This makes us scroll one line at a time.
2019-06-07 10:42:59 +02:00
Andreas Kling
1d7b89cd1c
Base: Let's have "te" as a symlink alias for TextEditor for now.
2019-06-07 10:12:04 +02:00
Andreas Kling
08cd75ac4b
Kernel: Rename FileDescriptor to FileDescription.
...
After reading a bunch of POSIX specs, I've learned that a file descriptor
is the number that refers to a file description, not the description itself.
So this patch renames FileDescriptor to FileDescription, and Process now has
FileDescription* file_description(int fd).
2019-06-07 09:36:51 +02:00
Andreas Kling
69a6ce90df
AK: Add a ScopeGuard helper that invokes a callback when destroyed.
...
This is useful when you want to ensure some little thing happens when you
exit a certain scope.
This patch makes use of it in LibC's netdb code to make sure we close the
connection to the LookupServer.
2019-06-07 09:19:15 +02:00
Andreas Kling
4edc73ad1f
Terminal: Use the visual bell by default.
2019-06-07 08:45:39 +02:00
Christopher Dumas
0491d34d0c
LookupServer: use /etc/hosts even for reverse lookups
2019-06-07 08:35:41 +02:00
Christopher Dumas
70a37f9a26
LookupServer: Load hostnames
2019-06-07 08:35:41 +02:00
Christopher Dumas
4f62176c3e
LookupServer: Clang-Format
2019-06-07 08:35:41 +02:00
Andreas Kling
59c37363b6
TTY: Generate SIGTSTP if cc[VSUSP] is pressed.
...
Fixes #207 .
2019-06-06 20:31:49 +02:00
Ben Sloane
9687f1801b
tail: Default tail behavior with no arguments ( #209 )
...
Make tail assume you wanted 10 lines of output if no -n option was provided.
2019-06-06 20:28:58 +02:00
Christopher Dumas
908d9458c7
WindowServer: New API for Scaled Blit
2019-06-06 18:35:00 +02:00
Christopher Dumas
90d924a97c
WindowServer: Implement scaled backgrounds and scaled blitting function
2019-06-06 18:35:00 +02:00
Christopher Dumas
c72953cf06
WindowServer: Clang-Format
2019-06-06 18:35:00 +02:00
Andreas Kling
29a9430246
AK: Make timeval_add() and timeval_sub() take references.
2019-06-06 18:02:28 +02:00
Andreas Kling
bf905225e7
Kernel: Tidy up sys$select() to make it more readable.
2019-06-06 17:49:01 +02:00
Andreas Kling
6e4f0b3cc5
Terminal: Reallocate kept lines when resizing the terminal.
...
Otherwise we end up with garbage text when making the window bigger.
2019-06-06 14:59:18 +02:00
Andreas Kling
e8f35ef311
Terminal: Store horizontal tabs in a Vector.
...
There's no need to muck around with manual malloc()/free() here.
2019-06-06 11:42:05 +02:00
Andreas Kling
ecb72dd991
Shell: Print the name of each process whose exit status we're reporting.
2019-06-06 11:00:48 +02:00
Andreas Kling
036d808e96
Shell: Check the exit status of all spawned child processes.
2019-06-06 11:00:48 +02:00
Andreas Kling
e4cfa9a686
FIFO: Raise SIGPIPE in processes that write() to a broken pipe.
2019-06-06 11:00:48 +02:00
Andreas Kling
abb3643d88
tail: Shell programs should return 1 to indicate failure.
2019-06-06 11:00:48 +02:00