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
K. Lange
811c033a13
grep: Add a basic regex-matching grep with some options
2022-08-17 20:52:27 +09:00
K. Lange
74b6dcc8e3
file-browser: Add 'Delete' to context menu
2022-08-17 19:31:47 +09:00
K. Lange
89325bb409
kuroko: add waitpid bindings (temporary; should be in 'os')
2022-08-17 19:31:33 +09:00
K. Lange
77651130e6
bim: Update syntax definitions
2022-08-17 19:30:45 +09:00
K. Lange
ebd55bc204
tmpfs: Don't completely bomb on trying to unlink a directory
2022-08-17 19:30:17 +09:00
K. Lange
fff099c598
kernel: add missing PTRCHECK to sys_readline; fixes #250
2022-08-17 08:49:12 +09:00
K. Lange
95e9d0943d
kuroko: small cleanups
2022-08-14 20:44:36 +09:00
K. Lange
7b79de9313
rline: Merge fixes from Kuroko
2022-08-14 20:43:01 +09:00
K. Lange
50f2ab2bcf
bim: more search improvements
2022-08-13 13:47:41 +09:00
K. Lange
0c66bce50a
bim: regex search/replace improvements
2022-08-13 11:36:22 +09:00
K. Lange
a307bef5a7
kuroko: sync upstream, rc1
2022-08-13 11:35:44 +09:00
K. Lange
e4c6b04c32
kuroko: use sigaction for sigint handler on ToaruOS
2022-08-06 18:30:03 +09:00
K. Lange
c554bf581c
kernel: Support SA_NODEFER
2022-08-06 18:24:06 +09:00