Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple small fixes #16

Merged
merged 9 commits into from Apr 22, 2024
Merged

Conversation

pete
Copy link
Contributor

@pete pete commented Apr 17, 2024

This is a bundle of small patches I have been running locally for years, and I believe they're reasonable to submit upstream. So as not to inundate you with a dozen small pull requests, I have pushed the changes into a single branch, but am happy to separate any or all of them into their own branch/PR. (In my repo here and at https://git.debu.gs/gitweb/?p=inferno , I have a number of personal changes that are probably best confined to my own system, but this is nearly all of the ones that are generally useful.)

  • Remove the -c flag when compiling img.dis in Charon, so that Charon can run without JIT enabled.
  • Fix a crash in libdraw/font.c when handling zero-width characters.
  • Request UTF-8 strings from the X server. (This allows pasting non-ASCII strings into acme, which is useful; there is a note in emu/port/lib-x11a.c about performance, but I have not observed any performance degradation, even on small ARM machines.)
  • Some small fixes for the httpd: directory listings were duplicating paths (thus resulting in 404s if you tried to click on any of the filenames in a subdirectory), and add a few more file types.
  • Add romanmile to units(1).

These changes are sensible, I think, but they are somewhat more subjective:

  • Make wm/memory slightly more legible by displaying megabytes when a number exceeds 100 kilobytes; the current behavior is to only round if it is an exactly even number of kilobytes, so 1200kB is displayed in MB but 1201kB is displayed in kB.
  • Apply caerwyn's changes to wm/view to display 24-bit color where available.

In particular, not serving .css as text/css was confusing to some browsers.

squash
This stops a lot of error spew from libxwhichever:  almost everything's UTF-8,
Plan 9 won.
This keeps charon from failing to load img.b on systems where JIT is disabled.
I suspect this is another holdover from when Inferno ran on systems that were
tiny in the 90s.
@forsyth forsyth merged commit 73b5cba into inferno-os:master Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants