Commit Graph

2318 Commits

Author SHA1 Message Date
e97b61ef16
gol: Use EventLoop timers
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-16 22:02:31 +01:00
d1d53c6891
kernel: Remove signal debug messages 2023-11-16 22:02:17 +01:00
8a57d8a9b7
libos: Use setitimer() for millisecond precision 2023-11-16 21:58:45 +01:00
678121c3ed
kernel+libc: Add setitimer()
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-16 21:48:18 +01:00
c4d2847da1
kernel: Rework the entire time system to use modular clocks
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-15 23:50:04 +01:00
e28e1c682c
kernel: Tweak some timer code
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-04 10:47:41 +01:00
dfebdce689
kernel: Add a timer queue with more versatility than simple alarm()
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-03 19:53:34 +01:00
54ec441000
libluna: Add LinkedList::add_before() to mirror add_after()
Need this for later.
2023-11-03 19:52:36 +01:00
e1d5b7e7b4
kernel: Implement thread stopping and continuing
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-28 15:15:32 +02:00
69771cbd85
kernel: Show symbols correctly when at the beginning of a function
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-25 20:02:15 +02:00
4d5feb0f3b
libos: Add File::seek() and File::tell()
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-24 20:02:09 +02:00
cea1b030ff
kernel: Add locking to BinaryFormat and DeviceRegistry
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-23 22:48:04 +02:00
9c65dba412
kernel: Add a registry for file system implementations 2023-10-23 22:47:49 +02:00
ba4e807f8e
kernel: Fix off-by-one error in symbol lookup and add locking
This resulted in very weird backtraces.
2023-10-23 22:47:20 +02:00
b3cbbea9d6
kernel: Move file descriptors into their own separate file 2023-10-23 20:13:11 +02:00
8476ea0dc9
ports: Port gcc =D
All checks were successful
continuous-integration/drone/push Build is passing
The main compiler (cc1) crashes in some obscure null dereference that I'll have to investigate.

However, it compiles fine, and the preprocessor seems to work...
2023-10-15 13:13:11 +02:00
2134dcc5ec
libc: Add madvise stub 2023-10-15 13:09:56 +02:00
7db6e0163a
libc: Add unused WUNTRACED define for gcc 2023-10-15 13:09:46 +02:00
bd0fb8fe5b
libc: Add pclose definition
The function was already implemented, but no definition in the header...
2023-10-15 13:09:22 +02:00
15d5f00cd3
libc: Add ctermid
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-15 11:09:08 +02:00
56eb0c8130
su: Read password from /dev/tty instead of stdin
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-14 20:47:56 +02:00
c323a812a5
kernel+libc+terminal+wind: Add support for POSIX sessions
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #42.
2023-10-14 20:41:34 +02:00
81131ad3a8
init: Handle SIGCHLD signals 2023-10-14 20:40:18 +02:00
5f0830cd41
kernel: Add /dev/tty
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-14 19:00:10 +02:00
9097400c32
wind: Return more errors to the client when creating windows
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-13 22:33:36 +02:00
3ca31770e7
initrd: Remove unused stray script file
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-13 22:12:18 +02:00
c75dbc0cbb
kernel: Lookup and print symbols for addresses in backtraces 2023-10-13 22:11:52 +02:00
37e046d766
libui: Make Label initialization step-by-step instead of setting everything in the constructor
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-11 22:56:14 +02:00
7812a4a44a
apps+libui: Make app.run() call window->draw() automatically
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-10 22:24:11 +02:00
e18ca9bfe0
libos: Document Action.h 2023-10-10 22:11:12 +02:00
d3a347e432
taskbar: Handle SIGCHLD as part of the event loop
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-09 22:14:34 +02:00
3e5bdc8c80
apps: Add clock
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-09 22:05:30 +02:00
0824ba7e23
libos: Add timers to event loops
Only second precision for now, as alarm() is used to control the timers. Hopefully setitimer() or timer_create() can be added to the kernel soon to benefit from more precision.
2023-10-09 22:00:15 +02:00
0b2a835336
libui+libos: Move Action to libos 2023-10-07 15:31:50 +02:00
945cfab3eb
libos: Add signal handling to event loops
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-07 14:26:35 +02:00
5892a6bf09
libos+libui: Add event loops
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-06 22:06:34 +02:00
f5aed95b8b
kernel: Fix inode link counting in tmpfs
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-04 20:58:40 +02:00
db2963d7bf
apps: Add 2048 prototype
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-28 21:38:42 +02:00
b3dc027ba0
taskbar: Add Game of Life to taskbar
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-27 19:03:49 +02:00
041d15a547
libui+taskbar: Make Buttons use Actions and clean up taskbar code 2023-09-27 18:52:17 +02:00
3d46e56386
libui: Add Margins to layouts 2023-09-27 18:51:54 +02:00
d4e834f734
libui: Add Actions
This allows components like Buttons to take in capturing lambdas
2023-09-27 18:51:38 +02:00
54afd7c2b0
libluna: Add OwnedPtr::leak() 2023-09-27 18:50:56 +02:00
9a9c7e577a
wind+libui+taskbar: Add various window types and never focus the taskbar
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-27 18:14:32 +02:00
f0844c9f69
cp: Support the -R flag and add better verbose messages
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-25 21:31:14 +02:00
eeb69c923c
kernel: Rename Scheduler::new_userspace_thread to clarify that it's only meant for init
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-25 19:34:02 +02:00
5626083aad
init: Add support for WorkingDirectory keys
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-25 19:26:05 +02:00
7ff5096083
kernel: Avoid page faults when reading from a slave pseudoterminal after the master is destroyed
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-23 12:57:03 +02:00
a47321a228
libc: Implement openpty()
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-22 23:02:33 +02:00
ffdcc843eb
kernel+terminal: Move pseudoterminal input processing to kernel-space
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-22 22:45:35 +02:00