redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2018-06-13T19:39:51Zhttps://gitlab.redox-os.org/redox-os/orbclient/-/issues/34`Renderer::rect()` draws pixels on the screen, even when the rect is fully ou...2018-06-13T19:39:51ZJeremy Soller`Renderer::rect()` draws pixels on the screen, even when the rect is fully outside the window.*Created by: ca1ek*
```rust
let mut window = orbclient::Window::new(-1, -1, 640, 480, "kek").unwrap();
window.set(Color::rgb(255, 255, 255));
window.rect(700, 20, 10, 10, Color::rgb(12,34,56));
window.sync();
th...*Created by: ca1ek*
```rust
let mut window = orbclient::Window::new(-1, -1, 640, 480, "kek").unwrap();
window.set(Color::rgb(255, 255, 255));
window.rect(700, 20, 10, 10, Color::rgb(12,34,56));
window.sync();
thread::sleep(time::Duration::from_secs(5));
```
Even though that the rect is at `x=700`, and the window has `w=640` you still can see a small line of pixels at the edge of the window.
[Image](http://i.imgur.com/WecHxr2.png)
https://gitlab.redox-os.org/redox-os/rusttype/-/issues/56Perform code review, add tests, and release new crate version2018-06-13T17:19:45ZJeremy SollerPerform code review, add tests, and release new crate versionI would like to do a code review, add tests which would check font rendering on many different fonts, and then release a new crate version.
This will also help to familiarize me with the current codebase.I would like to do a code review, add tests which would check font rendering on many different fonts, and then release a new crate version.
This will also help to familiarize me with the current codebase.Jeremy SollerJeremy Sollerhttps://gitlab.redox-os.org/redox-os/tfs/-/issues/67CHashMap Rayon integration2018-06-13T19:39:49ZJeremy SollerCHashMap Rayon integration*Created by: garro95*
It would be nice to have a parallel iterator implementation (par_iter, into_par_iter and par_iter_mut) to use the map with the ergonomics of rayon*Created by: garro95*
It would be nice to have a parallel iterator implementation (par_iter, into_par_iter and par_iter_mut) to use the map with the ergonomics of rayonhttps://gitlab.redox-os.org/redox-os/website/-/issues/148Display Reddit comment link at bottom of articles2018-06-13T19:39:50ZIan Douglas ScottDisplay Reddit comment link at bottom of articlesSince this uses a static site generator, javascript is probably the best way to do this. It could test if the article has been linked to on r/redox, and if so display a link.Since this uses a static site generator, javascript is probably the best way to do this. It could test if the article has been linked to on r/redox, and if so display a link.https://gitlab.redox-os.org/redox-os/redox/-/issues/1398MIPS architecture port2023-08-12T11:40:49ZJeremy SollerMIPS architecture port*Created by: aep*
We're in need of a kernel for MIPS.
- very small
- micro-kernel
- support for virtual memory
- reasonably stable
- reasonable linux compatbility (some porting effort is fine)
Is that something we should attempt...*Created by: aep*
We're in need of a kernel for MIPS.
- very small
- micro-kernel
- support for virtual memory
- reasonably stable
- reasonable linux compatbility (some porting effort is fine)
Is that something we should attempt to do, or would you say that redox-os is not in the right stage yet?https://gitlab.redox-os.org/redox-os/ralloc/-/issues/58Documentation link in repo description is broken2018-06-13T19:39:49ZJeremy SollerDocumentation link in repo description is broken*Created by: iankronquist*
The repo description reads: "An alternative pure-Rust memory allocator. https://doc.redox-os.org/doc/ralloc/"
That link is broken.
*Created by: iankronquist*
The repo description reads: "An alternative pure-Rust memory allocator. https://doc.redox-os.org/doc/ralloc/"
That link is broken.
https://gitlab.redox-os.org/redox-os/timidity/-/issues/1Enable the vt100 interface2018-10-19T14:47:14ZNagy Tiborxnagytibor@gmail.comEnable the vt100 interface*Created by: xTibor*
The vt100 interface requires proper `select()` support from [newlib](https://github.com/redox-os/newlib).
The audio playback hangs with an `unimplemented: select()` message at the moment.*Created by: xTibor*
The vt100 interface requires proper `select()` support from [newlib](https://github.com/redox-os/newlib).
The audio playback hangs with an `unimplemented: select()` message at the moment.https://gitlab.redox-os.org/redox-os/liner/-/issues/4kill fragments2018-06-21T22:57:27ZGhost Userkill fragmentsIf I type out `/some/long/path`, I would like `^W` to erase the last segment, not the entire path.If I type out `/some/long/path`, I would like `^W` to erase the last segment, not the entire path.https://gitlab.redox-os.org/redox-os/arg-parser/-/issues/8License violation spotted - another organization stole your project2018-07-08T02:59:17ZHaruka MaLicense violation spotted - another organization stole your projectThe project, https://github.com/benchlab/ParseArgs, copied your project without proper attribution and violated your license by claiming the author. Note that their attributions does included some of Redox projects, arg-parser is not in ...The project, https://github.com/benchlab/ParseArgs, copied your project without proper attribution and violated your license by claiming the author. Note that their attributions does included some of Redox projects, arg-parser is not in it.
I'd suggest you talk to the project directly or report it to GitHub to takedown the violating repository.https://gitlab.redox-os.org/redox-os/stb_truetype-rs/-/issues/13Add find_glyph_index benchmark regression test for `format=0` font2018-08-24T13:23:47ZAlex ButlerAdd find_glyph_index benchmark regression test for `format=0` fontWe have benchmark regression tests in benches/api.rs, that can be run with `cargo +nightly bench` & `cargo +nightly test --bench api`.
We're not currently testing format `0` `find_glyph_index` logic. We should add new one covering this ...We have benchmark regression tests in benches/api.rs, that can be run with `cargo +nightly bench` & `cargo +nightly test --bench api`.
We're not currently testing format `0` `find_glyph_index` logic. We should add new one covering this format, similar to how `find_glyph_index_gudea` covers format `4`.https://gitlab.redox-os.org/redox-os/init/-/issues/4Dynamic Dependencies: Event System2019-02-02T18:03:17ZSamwiseFilmoremggmugginsmc@gmail.comDynamic Dependencies: Event SystemAs I mentioned in #3, the current dependency resolution algorithms and surrounding infrastructure are not robust enough to support dynamic addition, deletion, and reincarnation of services. My thoughts are to have some kind of internal e...As I mentioned in #3, the current dependency resolution algorithms and surrounding infrastructure are not robust enough to support dynamic addition, deletion, and reincarnation of services. My thoughts are to have some kind of internal event system, where any threads can post an event with a little data up to a central dispatcher thread, which of course then distributes the required task to another thread. There's a branch up called [event-system](https://gitlab.redox-os.org/redox-os/init/tree/event-system/) where I was experimenting with something like that. However, that attempt was before I had a couple of vital features, like better management of process's environments and a simpler re-implementation of `std::process::Command`. This is pretty much an implementation detail, but one that I don't have a good grasp on, so that's why this is marked as help-wanted.
Some of this also depends on figuring out a better model for dealing with "special" services, like redoxfs and vesad (refer to #3). However, does anybody know of a reasonable simple event bus, or a decent design I could implement that would work well?
This is also a dependency for parallel service startup (really just a means to arrive at parallel startup), although startup times currently are about 2 seconds, so I don't think it's terribly urgent, other than being one of my goals :D.SamwiseFilmoremggmugginsmc@gmail.comSamwiseFilmoremggmugginsmc@gmail.comhttps://gitlab.redox-os.org/redox-os/libextra/-/issues/9Remove `OptionExt::filter`2019-02-22T09:58:12ZschyrsivochterRemove `OptionExt::filter`As of Rust 1.27, `Option` already has a built-in method `filter()` that does the exact same thing, so there is no need for the extension trait any more.As of Rust 1.27, `Option` already has a built-in method `filter()` that does the exact same thing, so there is no need for the extension trait any more.https://gitlab.redox-os.org/redox-os/games/-/issues/26Add man pages to the games2019-08-05T03:06:37ZNagy Tiborxnagytibor@gmail.comAdd man pages to the gamesBased on how the [`extrautils`](https://gitlab.redox-os.org/redox-os/extrautils) apps implement it.Based on how the [`extrautils`](https://gitlab.redox-os.org/redox-os/extrautils) apps implement it.https://gitlab.redox-os.org/redox-os/chashmap/-/issues/4Overflowing Add during `insert`?2019-09-22T01:00:52ZSpencer JudgeOverflowing Add during `insert`?Hello - have run into this panic a few times and unfortunately I'm totally unable to narrow down a repro but I wanted to call it to your attention in any case. If I get any better information I will update this ticket. Thanks for your wo...Hello - have run into this panic a few times and unfortunately I'm totally unable to narrow down a repro but I wanted to call it to your attention in any case. If I get any better information I will update this ticket. Thanks for your work on this crate!
```
---- client_tests::some_test stdout ----
thread 'xxx' panicked at 'attempt to add with overflow', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.2.2/src/lib.rs:955:19
stack backtrace:
0: 0x5652428d9d33 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
1: 0x5652428d560b - std::sys_common::backtrace::_print::h49a82ae9552e35c7
at src/libstd/sys_common/backtrace.rs:71
2: 0x5652428d8a26 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
at src/libstd/sys_common/backtrace.rs:59
at src/libstd/panicking.rs:197
3: 0x5652428d874e - std::panicking::default_hook::he4af6af4ac7fef7b
at src/libstd/panicking.rs:208
4: 0x5652428d912f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
at src/libstd/panicking.rs:474
5: 0x5652428d8cb1 - std::panicking::continue_panic_fmt::ha6d6ae144369025b
at src/libstd/panicking.rs:381
6: 0x5652428d8b95 - rust_begin_unwind
at src/libstd/panicking.rs:308
7: 0x5652428ee8bc - core::panicking::panic_fmt::hc4f83bfed80aeabd
at src/libcore/panicking.rs:85
8: 0x5652428ee7fb - core::panicking::panic::h62fdcfa056e70982
at src/libcore/panicking.rs:49
9: 0x5652423ee204 - chashmap::CHashMap<K,V>::expand::he7a23d818ea1d4af
at /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.2.2/src/lib.rs:955
10: 0x5652423ee3c7 - chashmap::CHashMap<K,V>::insert::h1f25a247704603f4
at /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.2.2/src/lib.rs:806
```https://gitlab.redox-os.org/redox-os/orbcalculator/-/issues/4termion does not support windows, orbtkcaclulator compile failed2020-07-13T12:52:54ZNaCltermion does not support windows, orbtkcaclulator compile failedsee here https://github.com/Byron/dua-cli/issues/2
![image](/uploads/945f1622ea534f9b2da9962a7e97840f/image.png)see here https://github.com/Byron/dua-cli/issues/2
![image](/uploads/945f1622ea534f9b2da9962a7e97840f/image.png)https://gitlab.redox-os.org/redox-os/redox-nix/-/issues/4override toolchain '$HOME/redox/redox-nix/redox/prefix/x86_64-unknown-redox/r...2020-06-18T06:18:12ZAaron Janseoverride toolchain '$HOME/redox/redox-nix/redox/prefix/x86_64-unknown-redox/relibc-install' is not installedMy exact steps:
```
$ git clone --recurse-submodules https://gitlab.redox-os.org/redox-os/redox-nix
$ cd redox-nix
$ nix run -f ./components redoxer
$ redoxer install
```
I got the following error while running that last command:
```
er...My exact steps:
```
$ git clone --recurse-submodules https://gitlab.redox-os.org/redox-os/redox-nix
$ cd redox-nix
$ nix run -f ./components redoxer
$ redoxer install
```
I got the following error while running that last command:
```
error: override toolchain '/home/ajanse/redox/redox-nix/redox/prefix/x86_64-unknown-redox/relibc-install' is not installed
error: caused by: the RUSTUP_TOOLCHAIN environment variable specifies an uninstalled toolchain
redoxer cargo: exit code: 1
```
Any idea what could be causing this?https://gitlab.redox-os.org/redox-os/redoxer/-/issues/4error[E0432]: unresolved import `crate::installed`. Build redoxer failed wh...2021-07-07T16:03:47Zfoxhlchenerror[E0432]: unresolved import `crate::installed`. Build redoxer failed when building redox-os on Macos 10.15.5Hi, I came across a problem while building redox-os.
```
fox:redox/ (master) $ make all [15:15:51]
cargo build --manifest-path cookbook/Cargo.toml --release
Compiling...Hi, I came across a problem while building redox-os.
```
fox:redox/ (master) $ make all [15:15:51]
cargo build --manifest-path cookbook/Cargo.toml --release
Compiling redoxer v0.2.19
error[E0432]: unresolved import `crate::installed`
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/exec.rs:8:13
|
8 | use crate::{installed, redoxer_dir, status_error, syscall_error, toolchain, TARGET};
| ^^^^^^^^^ no `installed` in the root
error[E0432]: unresolved import `crate::running`
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:5:13
|
5 | use crate::{running, status_error};
| ^^^^^^^ no `running` in the root
error[E0599]: no method named `unmount` found for type `redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/exec.rs:95:25
|
95 | redoxfs.unmount()?;
| ^^^^^^^ method not found in `redoxfs::RedoxFs`
|
::: /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:7:1
|
7 | pub struct RedoxFs {
| ------------------ method `unmount` not found for this
error[E0599]: no method named `unmount` found for type `redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/exec.rs:267:25
|
267 | redoxfs.unmount()?;
| ^^^^^^^ method not found in `redoxfs::RedoxFs`
|
::: /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:7:1
|
7 | pub struct RedoxFs {
| ------------------ method `unmount` not found for this
error[E0599]: no method named `mount` found for type `redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:20:11
|
7 | pub struct RedoxFs {
| ------------------ method `mount` not found for this
...
20 | s.mount()?;
| ^^^^^ method not found in `redoxfs::RedoxFs`
error[E0599]: no method named `unmount` found for type `&mut redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:92:32
|
92 | if let Err(err) = self.unmount() {
| ^^^^^^^ method not found in `&mut redoxfs::RedoxFs`
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `redoxer`.
To learn more, run the command again with --verbose.
make: *** [build/initfs.tag] Error 101
fox:redox/ (master) $
```
Environment:
```
fox:redox/ (master) $ pwd [15:00:00]
/Users/fox/Workspace/redox-os/redox
fox:redox/ (master) $ ll [15:00:11]
total 160
-rw-r--r-- 1 fox staff 13K Jul 3 17:08 CONTRIBUTING.md
-rw-r--r-- 1 fox staff 1.1K Jul 3 17:08 LICENSE
-rw-r--r-- 1 fox staff 3.5K Jul 3 17:08 Makefile
-rw-r--r-- 1 fox staff 9.2K Jul 3 17:08 README.md
-rw-r--r-- 1 fox staff 384B Jul 3 17:08 bochs.x86_64
drwxr-xr-x 6 fox staff 192B Jul 3 17:16 bootloader
drwxr-xr-x 12 fox staff 384B Jul 3 17:16 bootloader-coreboot
drwxr-xr-x 16 fox staff 512B Jul 3 17:16 bootloader-efi
-rwxr-xr-x 1 fox staff 19K Jul 3 17:08 bootstrap.sh
drwxr-xr-x 3 fox staff 96B Jul 6 17:07 build
-rw-r--r-- 1 fox staff 3.1K Jul 3 17:08 ci.toml
drwxr-xr-x 7 fox staff 224B Jul 3 17:08 config
drwxr-xr-x 29 fox staff 928B Jul 7 11:31 cookbook
drwxr-xr-x 8 fox staff 256B Jul 3 17:08 docker
lrwxr-xr-x 1 fox staff 19B Jul 3 17:08 filesystem.toml -> config/desktop.toml
-rw-r--r-- 1 fox staff 514B Jul 3 17:08 initfs.toml
-rw-r--r-- 1 fox staff 464B Jul 3 17:08 initfs_coreboot.toml
-rw-r--r-- 1 fox staff 464B Jul 3 17:08 initfs_live.toml
drwxr-xr-x 10 fox staff 320B Jul 3 17:16 installer
drwxr-xr-x 8 fox staff 256B Jul 3 17:16 isolinux
drwxr-xr-x 19 fox staff 608B Jul 3 17:16 kernel
drwxr-xr-x 12 fox staff 384B Jul 3 17:08 mk
drwxr-xr-x 3 fox staff 96B Jul 6 17:07 prefix
drwxr-xr-x 13 fox staff 416B Jul 3 17:16 redoxfs
drwxr-xr-x 29 fox staff 928B Jul 6 23:25 relibc
drwxr-xr-x 22 fox staff 704B Jul 3 17:16 rust
-rw-r--r-- 1 fox staff 19B Jul 3 17:08 rust-toolchain
fox:redox/ (master) $ git rev-parse HEAD [15:28:53]
5d67d549a7a743cb25f233d9da2779a237ac8c51
fox:redox/ (master) $ rustc --version [15:21:33]
rustc 1.41.0-nightly (412f43ac5 2019-11-24)
fox:redox/ (master) $ cargo --version [15:22:52]
cargo 1.41.0-nightly (8280633db 2019-11-11)
fox:redox/ (master) $ neofetch [15:15:33]
'c. fox@fox-laptop.local
,xNMM. --------------------
.OMMMMo OS: macOS Catalina 10.15.5 19F101 x86_64
OMMM0, Host: MacBookAir8,1
.;loddo:' loolloddol;. Kernel: 19.5.0
cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 2 hours, 15 mins
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 146 (brew)
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: zsh 5.7.1
;MMMMMMMMMMMMMMMMMMMMMMMM: Resolution: 1440x900
:MMMMMMMMMMMMMMMMMMMMMMMM: DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX. WM: Quartz Compositor
kMMMMMMMMMMMMMMMMMMMMMMMMWd. WM Theme: Blue (Light)
.XMMMMMMMMMMMMMMMMMMMMMMMMMMk Terminal: iTerm2
.XMMMMMMMMMMMMMMMMMMMMMMMMK. Terminal Font: DejaVuSansMonoPowerline 13
kMMMMMMMMMMMMMMMMMMMMMMd CPU: Intel i5-8210Y (4) @ 1.60GHz
;KMMMMMMMWXXWMMMMMMMk. GPU: Intel UHD Graphics 617
.cooc,. .,coo:. Memory: 5894MiB / 8192MiB
```https://gitlab.redox-os.org/redox-os/ramfs/-/issues/5ramfs maximum disk size2021-04-01T17:58:12ZJoshua Abrahamramfs maximum disk size~~Just a drive-by thought, but wanted to discuss with @4lDO2. Should ramfs support a configuration option for maximum memory usage? Theoretically there is currently no upper bound for capacity. I think we should consider setting a limit ...~~Just a drive-by thought, but wanted to discuss with @4lDO2. Should ramfs support a configuration option for maximum memory usage? Theoretically there is currently no upper bound for capacity. I think we should consider setting a limit for any ram filesystem and return ENOSPC once the limit is encountered. Thoughts?~~
Let's set a limit on maximum memory usage by the ramfs device to prevent memory pressure on the system. When the device reaches the upper bound, return `ENOSPC`. While a first pass may implement this globally, eventually we want to track usage per user to prevent any single user from using all memory backed storagehttps://gitlab.redox-os.org/redox-os/termion/-/issues/130Replacement for rustbox's KeyEventRaw2018-06-16T04:18:39ZMichael Aaron Murphymmstick@pm.meReplacement for rustbox's KeyEventRaw*Created by: RajMohanKovilath*
I am learning Rust and I want to port the following code in rustbox to termion.
match self.rb.poll_event(true) {
Ok(Event::KeyEventRaw(_, key, ch)) => {
let k = match key {
...*Created by: RajMohanKovilath*
I am learning Rust and I want to port the following code in rustbox to termion.
match self.rb.poll_event(true) {
Ok(Event::KeyEventRaw(_, key, ch)) => {
let k = match key {
0 => char::from_u32(ch).map(Key::Char),
a => Key::from_special_code(a),
};
I know that I can replace rb.poll_event() by
for evt in self.stdin.events() {
let ev = evt.unwrap();
But how can I implement Event::KeyEventRaw(_, key, ch) using termion?
Any help will be greatly appreciated.https://gitlab.redox-os.org/redox-os/calc/-/issues/22Overflow panics on multiplication and exponentiation2018-06-10T06:47:01ZMichael Aaron Murphymmstick@pm.meOverflow panics on multiplication and exponentiation*Created by: xTibor*
**Reproduction**:
```rust
use calc::eval;
// ...
println!("{:?}", eval("2 ** 63"));
println!("{:?}", eval("3040000000 * 3040000000"));
```
**Expected behavior**:
Getting a `CalcError::WouldOverflow` result...*Created by: xTibor*
**Reproduction**:
```rust
use calc::eval;
// ...
println!("{:?}", eval("2 ** 63"));
println!("{:?}", eval("3040000000 * 3040000000"));
```
**Expected behavior**:
Getting a `CalcError::WouldOverflow` result.
**Actual behavior**:
A panic with an `'attempt to multiply with overflow'` message.
**Build information**:
* `calc`: Latest version from crates.io (`0.5.*`)
* `rustc -V`: `rustc 1.23.0-nightly (e340996ff 2017-11-02)`
* System: KDE neon 5.11 (Ubuntu 16.04 LTS)
**Misc**:
I encountered this issue via Ion's [arithmetic expansions](https://doc.redox-os.org/ion-manual/ch05-04-arithmetic.html).