Commit Graph

3194 Commits

Author SHA1 Message Date
Jeremy Soller d230839c64 Merge branch 'main' into 'main'
misc(netstack): update `smoltcp` to v0.13.1

See merge request redox-os/base!287
2026-06-25 12:16:28 -06:00
Anhad Singh cdea756569 fix(tcp/write_buf): incorrect return value
On success, the number of bytes written should be returned.

Previously `buf.len()` was always returned. The function `send_slice`
> ... returns the amount of octets actually enqueued, which is limited
> by the amount of free space in the transmit buffer; down to zero.

"down to zero" is okay as that is checked by `can_send`.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-06-25 23:55:00 +10:00
Jeremy Soller e56911dd95 Merge branch 'writeall-instead-of-write' into 'main'
add and apply unused_io_amount clippy lint

See merge request redox-os/base!282
2026-06-25 06:42:23 -06:00
Anhad Singh 7bfca6c5ab misc(netstack): update smoltcp to v0.13.1
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-06-24 16:56:05 +10:00
Jeremy Soller 4fc813f3ef Send controller events from usbhidd 2026-06-23 20:21:40 -06:00
Jeremy Soller 759b3cfeec Support triggers and adjust gamepad threshold 2026-06-23 18:12:24 -06:00
Jeremy Soller 7fcc18ec06 Use different mappings for gamepad dpad 2026-06-23 17:50:56 -06:00
Jeremy Soller ff7492949e Initial gamepad support 2026-06-23 17:29:25 -06:00
Ribbon 97dc1d2aa4 Merge branch 'improve-info' into 'main'
Small changes

See merge request redox-os/base!197
2026-06-20 21:24:44 -03:00
Wildan Mubarok 82504a917e Merge branch 'fix-redoxer-pty' into 'main'
ptyd: Revert pty master fpath

See merge request redox-os/base!285
2026-06-20 07:52:56 +00:00
Wildan M 812e0f6f1e ptyd: Revert pty master fpath 2026-06-20 13:24:10 +07:00
auronandace c3789b4ed3 only perform a single write and assert the amount written 2026-06-17 14:09:47 +01:00
auronandace 05a8954e0a add and apply unused_io_amount clippy lint 2026-06-17 13:40:16 +01:00
Mathew John Roberts c906030759 Merge branch 'base-minor-clippy-cleanup' into 'main'
tackle some minor clippy lints in ptyd and its dependencies

See merge request redox-os/base!281
2026-06-17 12:52:55 +01:00
Mathew John Roberts e957042c45 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wildan Mubarok <willnode@wellosoft.net>
2026-06-17 12:46:36 +01:00
auronandace 997155ef2c tackle some minor clippy lints in ptyd and its dependencies 2026-06-17 10:41:06 +01:00
Jeremy Soller dab7d039e2 Merge branch 'update-orbclient' into 'main'
Update orbclient

See merge request redox-os/base!280
2026-06-12 15:28:52 -06:00
Wildan M bd752fb95f Update orbclient 2026-06-12 20:27:17 +07:00
Jeremy Soller 4581183c10 Merge branch 'ev' into 'main'
Do not send TextInputEvent for control characters

See merge request redox-os/base!279
2026-06-08 19:19:45 -06:00
Wildan M e8f1b1a888 Do not send TextInputEvent for control characters 2026-06-09 04:15:22 +07:00
4lDO2 9dd6901d59 acpid: setrens before ready(), fixing deadlock.
Otherwise, an open call to /scheme/acpi/tables will result in nsmgr
blocking on an `openat(acpi_root, "tables")` call, which will never
occur if acpid is itself blocking on a `ForkNs` call to nsmgr before it
can serve any scheme requests.
2026-06-05 11:03:32 +02:00
Jeremy Soller 718041b8b0 Merge branch 'fix-ci-sysroot' into 'main'
Fix test since sysroot is implicit in redoxer

See merge request redox-os/base!277
2026-06-04 06:20:07 -06:00
Jeremy Soller abc66dd4d5 Merge branch 'ptyd-improvements' into 'main'
ptyd: implement TIOCGPTN and TIOC{S,G}PTLCK

See merge request redox-os/base!276
2026-06-03 19:26:08 -06:00
Connor-GH ddd6c4f3ac ptyd: implement TIOCGPTN and TIOC{S,G}PTLCK
This functionality is needed according to POSIX. Additionally, some
logic had to be changed in order for the ptsname to be correct for the
manager terminal (ptmx). If you want to obtain a pty, you must go
through the `posix_openpt`-`grantpt`-`unlockpt`-`ptsname`-`open`
process. Alternatively, relibc as a function called `openpty`.

This is part of my ptyd series. This can be safely merged once the MRs
for relibc/ and userutils/ are merged at the same time.
2026-06-03 19:33:09 -05:00
Wildan M 586213b681 Fix test since sysroot is implicit in redoxer 2026-06-04 02:13:50 +07:00
4lDO2 2272746215 Run rustfmt. 2026-06-03 10:38:36 +02:00
Jeremy Soller 2045364b58 Merge branch 'simplify_acpi' into 'main'
Use simplified kernel ACPI interface.

See merge request redox-os/base!275
2026-06-02 19:54:36 -06:00
4lDO2 4a34c3251e Use simplified kernel ACPI interface. 2026-06-02 15:40:28 +02:00
Jacob Lorentzon 24a98c0309 Merge branch 'relpathat' into 'main'
feat: Implement realpathat for ramfs

See merge request redox-os/base!271
2026-05-29 13:13:36 +02:00
Ibuki Omatsu 52b1d04e12 feat: Implement realpathat for ramfs 2026-05-29 13:13:35 +02:00
Jeremy Soller bceb3925bd Merge branch 'fix_warnings' into 'main'
Fix warnings for updated rustc

See merge request redox-os/base!273
2026-05-27 13:35:26 -06:00
bjorn3 24fb66e144 Fix warnings for updated rustc
And move away from an internal feature now that there is a proper
(unstable) function for it.
2026-05-27 21:11:53 +02:00
Jeremy Soller 784801908e Merge branch 'fix_console_draw' into 'main'
drivers/graphics/console-draw: Fix corrupted drawing

See merge request redox-os/base!272
2026-05-24 13:09:09 -06:00
bjorn3 5701459db4 drivers/graphics/console-draw: Use font height rather than width where necessary
This fixes major corruption of the drawn text.
2026-05-24 20:36:18 +02:00
bjorn3 54b2697a6d drivers/graphics/console-draw: Missed change 2026-05-24 20:31:51 +02:00
bjorn3 5e800afd1b drivers/graphics: Couple of misc fbcond/fbbootlogd cleanups 2026-05-24 20:23:05 +02:00
Jeremy Soller 2dbc3c46a3 Merge branch 'patch-1' into 'main'
Remove fbcond dependency in initfs graphics target

See merge request redox-os/base!270
2026-05-17 06:16:48 -06:00
Migue Magic 655c2fe691 Remove fbcond dependency in initfs graphics target 2026-05-16 16:55:53 +00:00
bjorn3 9ed223af09 Merge branch 'fix-build' into 'main'
fbbootlogd: Fix build

See merge request redox-os/base!269
2026-05-16 09:42:41 +00:00
Wildan M b70f565ec5 fbbootlogd: Fix build 2026-05-16 15:26:38 +07:00
Jeremy Soller a0e34b92e5 Merge branch 'console-font-support' into 'main'
Implement font support

See merge request redox-os/base!261
2026-05-15 17:21:18 -06:00
Migue Magic ae77a4f0ad Implement font support 2026-05-15 17:21:18 -06:00
Jeremy Soller 7bc1442eb9 Merge branch 'gpu_drm43' into 'main'
drivers/graphics/driver-graphics: Extract ioctl impls into a separate module

See merge request redox-os/base!268
2026-05-14 15:02:06 -06:00
Jeremy Soller c587cda80e Merge branch 'gpu_drm42' into 'main'
drivers/graphics/driver-graphics: Expose a bunch of properties on planes

See merge request redox-os/base!267
2026-05-14 13:24:31 -06:00
bjorn3 fc2d098f70 drivers/graphics/driver-graphics: Move property ioctls to a separate module 2026-05-14 18:37:55 +02:00
bjorn3 3e7b757f0b drivers/graphics/driver-graphics: Deduplicate code between MODE_CURSOR and MODE_CURSOR2 2026-05-14 17:40:43 +02:00
bjorn3 798ef0738e drivers/graphics/driver-graphics: Move cursor ioctls to a separate module 2026-05-14 17:36:55 +02:00
bjorn3 df845d6566 drivers/graphics/driver-graphics: Move framebuffer ioctls to a separate module 2026-05-14 17:32:39 +02:00
bjorn3 2ac2182caa drivers/graphics/driver-graphics: Move ioctl impls to a new module 2026-05-14 17:25:02 +02:00
bjorn3 22060149c2 drivers/graphics/driver-graphics: Extract ioctl implementations into a function 2026-05-14 17:22:15 +02:00