serenity
serenity copied to clipboard
Utilities: Port *most* utilities to Core::Stream
This is a first go to get the majority of simple (and less simple) cases done, leaving the ones that had me scratching my head for a while.
Replaced all but one use of ByteBuffer::create_uninitialized() with an Array<>. The remaining one is >32K so that felt a bit large for the stack. But maybe I'm worrying unnecessarily about that.
Also, using PAGE_SIZE as suggested.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!
Hello!
One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.
Since last time:
- Fixed the merge request
- Fixed
cksumtrying tostat()stdin
Apparently Buggie still doesn't like w as a category name. :thonk:
I merged a separate checksum PR that has conflicts w/your changes :)
I merged a separate
checksumPR that has conflicts w/your changes :)
Thanks! They already ported it to Core::Stream so I've dropped my commit that did that. No other changes, apart from rebasing.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!
Since last time:
- Rebase to to fix conflicts.
- Fix issues found by davidot.
- Fix that I'd changed strace to default to stdout instead of stderr.
- Use
std_input()helper incopy.
I've also done some quick and dirty manual testing to make sure everything still works. At least, as best as I could. :sweat_smile:
Changes: Fixed a conflict, which was just that Andreas removed an outln() from lsirq, so this should still be good to go!