Commit Graph

5637 Commits

Author SHA1 Message Date
K. Lange
4ab636defa bim: sync with upstream 2022-10-10 17:08:16 +09:00
K. Lange
3a80a3c0c8 kuroko: sync with upstream 2022-10-10 16:59:49 +09:00
K. Lange
d5d8941a2d kernel: we have more than 31 signals... 2022-10-10 16:04:13 +09:00
K. Lange
3743ee8e4d kernel: enable -Wstrict-prototypes 2022-09-17 13:37:02 +09:00
K. Lange
e80d2da3f3 net: Cleanup headers 2022-09-17 13:35:31 +09:00
K. Lange
1f5fb5be2e kuroko: sync for upstream 1.3.0 release 2022-09-14 07:09:34 +09:00
K. Lange
c130570aad panel: fixup inefficient window list redrawing 2022-09-05 21:03:02 +09:00
K. Lange
bb1c30d1ef libc: stub tgamma for kuroko 2022-09-04 19:23:12 +09:00
K. Lange
b9166a3fc1 top: add 'S' column for state 2022-09-02 13:15:36 +09:00
K. Lange
5815adca7d procfs: RUNNING processes should have state R 2022-09-02 13:15:24 +09:00
K. Lange
9fd1c854b4 bim: at least attempt to wait for forked children 2022-09-02 13:14:39 +09:00
K. Lange
658673cd19 kuroko: sync with upstream 2022-08-31 19:14:43 +09:00
K. Lange
c3a16d6a0e meta: Update some copyright years 2022-08-31 06:04:49 +09:00
K. Lange
ce625f2137 aarch64: enable userspace access to timer physical counter 2022-08-30 17:12:49 +09:00
K. Lange
1960006ec7 aarch64: dump regs on unknown fatal exceptions 2022-08-30 17:12:18 +09:00
K. Lange
ecbe7f6cbb aarch64: don't be so intent on running driver bringup on cpu0 2022-08-30 17:11:42 +09:00
K. Lange
a70b6e58f0 terminal: don't need to reset mouse_ticks in draw_cursor 2022-08-29 20:13:26 +09:00
K. Lange
31c57dd6bd file-browser: don't make the path input look focused when the window isn't 2022-08-28 20:52:44 +09:00
K. Lange
bbd609086a libc: make pthread_t scalar
While POSIX.1-2001 says that pthread_t is allowed to be
"non-arithmetic", earlier revisions did not allow it, and
many things still assume the original rule and either
complain loudly or fail completely if pthread_t is a struct.

In glibc, pthread_t is typedef'd to 'unsigned long int', but
in musl, it is a pointer type to an opaque struct. We'll go
with the latter option here.

Note that while this breaks ABI combatibility for the libc,
nothing in the x86-64 or aarch64 package repositories uses
pthreads, so this probably doesn't matter too much. If you
are one of the handful of souls brave enough to be maintaining
your own downstream software for ToaruOS and you use pthreads,
it's time to rebuild.

This is an initial change that will be followed up with more
thorough internal changes to our pthreads implementation.
2022-08-27 15:53:37 +09:00
K. Lange
32d89aad36 calculator: slightly more sensible input handling 2022-08-26 15:06:19 +09:00
K. Lange
e6ad8d929a kuroko: sync upstream 2022-08-26 05:32:34 +09:00
K. Lange
5651875d4b libc: qsort_r 2022-08-26 05:32:00 +09:00
K. Lange
9942ec3889 graphics: fix bad bounds checks in draw_sprite_alpha* 2022-08-22 21:12:54 +09:00
K. Lange
af69cd6369 text: Allow x-adjusted glyph rendering, for better kerning in caches 2022-08-22 13:36:30 +09:00
K. Lange
1349d1a2e0 calculator: use markup_text for rendering 2022-08-22 12:30:02 +09:00
K. Lange
4f3433b212 about: use markup_text for rendering 2022-08-22 12:29:55 +09:00
K. Lange
5f56820331 markup_text: Implement a glyph cache and expose a more detailed API 2022-08-22 12:29:34 +09:00
K. Lange
d7f73b3970 text: Add methods for rasterizing single glyphs 2022-08-22 12:28:39 +09:00
K. Lange
89910dc2f2 readelf: missing return 2022-08-22 10:47:20 +09:00
K. Lange
e670b7c9e6 readelf: use strings for more columns 2022-08-22 10:38:53 +09:00
K. Lange
4ec5882e46 readelf: fix incorrect handling of RELA sections 2022-08-22 10:26:35 +09:00
K. Lange
603a07a868 sh: that decoder is in a header... 2022-08-22 08:44:45 +09:00
K. Lange
abe66fb45b yutani: pex read() can return error code 2022-08-21 19:01:05 +09:00
K. Lange
f84466b18f sh: Hack to fix display width when prompt contains wide characters 2022-08-21 18:51:50 +09:00
K. Lange
15a586a38e meta: uh, where did that come from 2022-08-21 18:51:30 +09:00
K. Lange
8f6711bce9 terminal: dumb glyph cache for truetype text 2022-08-21 14:44:20 +09:00
K. Lange
d2f3644430 kernel: fixup ptrace signal delivery, again 2022-08-18 19:42:17 +09:00
K. Lange
40c36d3290 sh: use strsignal, improve job list slightly 2022-08-18 19:21:08 +09:00
K. Lange
908dbb0553 libc: strsignal 2022-08-18 19:20:56 +09:00
K. Lange
5aa2b32101 kernel: Return signal number that caused process to stop 2022-08-18 19:20:43 +09:00
K. Lange
88a1df00a6 tty: do not print line feed after ^C, et al. 2022-08-18 18:34:21 +09:00
K. Lange
dd33c722c5 kernel: fix waitpid() with WSTOPPED; only return on state change? 2022-08-18 18:19:15 +09:00
K. Lange
d600d3d393 grep: don't print (standard input) when input is implicitly stdin 2022-08-18 17:14:03 +09:00
K. Lange
745bc29a26 kernel: rudimentary sigwait 2022-08-18 16:56:43 +09:00
K. Lange
37bd4e08cb kernel: add sigsuspend 2022-08-18 15:09:23 +09:00
K. Lange
ab4c474768 kernel: Handle some invalid arguments in signal syscalls 2022-08-18 15:08:56 +09:00
K. Lange
da7651cec6 package-manager: Show a message when no packages are available 2022-08-18 07:21:21 +09:00
K. Lange
5d36d27bb9 readelf: Add several sanity checks.
Should resolve several reported issues.

Fixes #245
Fixes #244
Fixes #243
2022-08-18 06:55:43 +09:00
K. Lange
2391009167 sudo: bail early of euid isn't 0 2022-08-18 05:43:00 +09:00
K. Lange
5f643d7034 kernel: don't SUID traced processes 2022-08-18 05:42:48 +09:00