redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2018-06-15T11:40:03Zhttps://gitlab.redox-os.org/redox-os/redox/-/issues/510Add std::path::Component to libredox2018-06-15T11:40:03ZJeremy SollerAdd std::path::Component to libredox*Created by: skylerberg*
I would like to use `glob` as a dependency in ion. When I try to build redox with this, I get:
```
Compiling glob v0.2.10
error: can't find crate for `std` [E0463]
error: aborting due to previous error
Could...*Created by: skylerberg*
I would like to use `glob` as a dependency in ion. When I try to build redox with this, I get:
```
Compiling glob v0.2.10
error: can't find crate for `std` [E0463]
error: aborting due to previous error
Could not compile `glob`.
```
There may be more than one problem at play, but by looking at the source code for `glob` I see that it uses `std::path::Component` which I don't think we have in libredox. Adding it would be a step toward having `glob` work.
https://gitlab.redox-os.org/redox-os/rusttype/-/issues/8arithmetic operation overflow2018-06-13T17:19:47ZJeremy Sollerarithmetic operation overflow*Created by: Maxjen*
I am getting an 'arithmetic operation overflowed' panic and the compiler is pointing me to [this line](https://github.com/dylanede/stb_truetype-rs/blob/master/src/lib.rs#L800). The example code I attached in issue #...*Created by: Maxjen*
I am getting an 'arithmetic operation overflowed' panic and the compiler is pointing me to [this line](https://github.com/dylanede/stb_truetype-rs/blob/master/src/lib.rs#L800). The example code I attached in issue #7 triggers it.(after cargo update)
It seems to be related to kerning, because the code works if I comment the following lines out:
```
for c in string.chars() {
for c_other in string.chars() {
let kerning = font.pair_kerning(scale, c, c_other);
if kerning != 0.0 {
println!("kerning {} {} {:.10} ", c, c_other, kerning);
}
}
}
```
https://gitlab.redox-os.org/redox-os/ion/-/issues/88Add command line options to dirs, pushd, popd2018-06-12T14:22:04ZMichael Aaron Murphymmstick@pm.meAdd command line options to dirs, pushd, popd*Created by: skylerberg*
https://www.gnu.org/software/bash/manual/html_node/Directory-Stack-Builtins.html
*Created by: skylerberg*
https://www.gnu.org/software/bash/manual/html_node/Directory-Stack-Builtins.html
https://gitlab.redox-os.org/redox-os/ion/-/issues/87Add noop command2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meAdd noop command*Created by: skylerberg*
Most shells have a command called `:` that is a noop. We should add this to ion. It can either be called `:` or `noop`; I don't care which, but if anyone does, just say your opinion.
*Created by: skylerberg*
Most shells have a command called `:` that is a noop. We should add this to ion. It can either be called `:` or `noop`; I don't care which, but if anyone does, just say your opinion.
https://gitlab.redox-os.org/redox-os/ion/-/issues/85Catch signals2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meCatch signals*Created by: skylerberg*
Ion should not die when it catches a signal such as you get when you hit `^C`. Instead we should handle the signal.
We may have some trouble because as far as I can tell, Rust does not have a great way to deal ...*Created by: skylerberg*
Ion should not die when it catches a signal such as you get when you hit `^C`. Instead we should handle the signal.
We may have some trouble because as far as I can tell, Rust does not have a great way to deal with signals. https://github.com/rust-lang/rfcs/issues/1368.
Michael Aaron Murphymmstick@pm.meMichael Aaron Murphymmstick@pm.mehttps://gitlab.redox-os.org/redox-os/ion/-/issues/84Don't expand variables in single quoted strings2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meDon't expand variables in single quoted strings*Created by: skylerberg*
This should be changed after doing https://github.com/redox-os/ion/issues/83.
*Created by: skylerberg*
This should be changed after doing https://github.com/redox-os/ion/issues/83.
https://gitlab.redox-os.org/redox-os/ion/-/issues/83Make quoted strings not do glob expansion2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meMake quoted strings not do glob expansion*Created by: skylerberg*
This will likely mean a lot of work in `peg.rs`. I see this as large change.
*Created by: skylerberg*
This will likely mean a lot of work in `peg.rs`. I see this as large change.
https://gitlab.redox-os.org/redox-os/ion/-/issues/81Make Homu automatically update the crate version based on changes to the chan...2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meMake Homu automatically update the crate version based on changes to the changelog*Created by: skylerberg*
This depends on https://github.com/redox-os/ion/issues/80.
If Homu could then push the changes to cargo, that would be even better.
*Created by: skylerberg*
This depends on https://github.com/redox-os/ion/issues/80.
If Homu could then push the changes to cargo, that would be even better.
https://gitlab.redox-os.org/redox-os/ion/-/issues/80Make Homu automatically update the changlog2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meMake Homu automatically update the changlog*Created by: skylerberg*
This depends on https://github.com/redox-os/ion/issues/77 and https://github.com/redox-os/ion/issues/79.
*Created by: skylerberg*
This depends on https://github.com/redox-os/ion/issues/77 and https://github.com/redox-os/ion/issues/79.
https://gitlab.redox-os.org/redox-os/ion/-/issues/79Use an auto-changlog tool such as clog2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meUse an auto-changlog tool such as clog*Created by: skylerberg*
https://github.com/clog-tool/clog-cli
*Created by: skylerberg*
https://github.com/clog-tool/clog-cli
https://gitlab.redox-os.org/redox-os/ion/-/issues/78Make Homu run rustfmt on repo before merge2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meMake Homu run rustfmt on repo before merge*Created by: skylerberg*
Obviously this depends on https://github.com/redox-os/ion/issues/77.
*Created by: skylerberg*
Obviously this depends on https://github.com/redox-os/ion/issues/77.
https://gitlab.redox-os.org/redox-os/ion/-/issues/77Use Homu to as a commit gate keeper2018-06-12T14:22:05ZMichael Aaron Murphymmstick@pm.meUse Homu to as a commit gate keeper*Created by: skylerberg*
*Created by: skylerberg*
https://gitlab.redox-os.org/redox-os/stb_truetype-rs/-/issues/2Incorrect handling of format 12 and 13 glyf tables2018-06-15T10:04:43ZJeremy SollerIncorrect handling of format 12 and 13 glyf tables*Created by: dylanede*
There's an `unreachable!()` where there should be a `return 0`, causing code points with no glyphs to panic. See https://github.com/dylanede/rusttype/issues/7
*Created by: dylanede*
There's an `unreachable!()` where there should be a `return 0`, causing code points with no glyphs to panic. See https://github.com/dylanede/rusttype/issues/7
https://gitlab.redox-os.org/redox-os/rusttype/-/issues/7unreachable code panic2018-06-13T17:19:47ZJeremy Sollerunreachable code panic*Created by: Maxjen*
I ran into an unreachable code panic when trying to use the DejaVuSans font with RustType. It pointed me to [this line](https://github.com/dylanede/stb_truetype-rs/blob/master/src/lib.rs#L369) from stb_truetype-rs.
...*Created by: Maxjen*
I ran into an unreachable code panic when trying to use the DejaVuSans font with RustType. It pointed me to [this line](https://github.com/dylanede/stb_truetype-rs/blob/master/src/lib.rs#L369) from stb_truetype-rs.
Here is a slightly modified version of the example code to reproduce the panic:
[rusttype_test.zip](https://github.com/dylanede/rusttype/files/128893/rusttype_test.zip)
I also noticed that pair_kerning always returned 0.0 for all the glyph combinations I tried with the Gudea-Regular font. I was going to test if this was also the case with other fonts, but then I got the panic.
https://gitlab.redox-os.org/redox-os/redox/-/issues/507How does Redox deal with distributed memory and distributed computing?2018-06-15T11:40:03ZJeremy SollerHow does Redox deal with distributed memory and distributed computing?*Created by: jli05*
(From a newbie:) Just wondering what kind of programming model Redox proposes in terms of distributed computing. Thanks,
*Created by: jli05*
(From a newbie:) Just wondering what kind of programming model Redox proposes in terms of distributed computing. Thanks,
https://gitlab.redox-os.org/redox-os/redox/-/issues/506http://www.redox-os.org/ down?2018-06-15T11:40:03ZJeremy Sollerhttp://www.redox-os.org/ down?*Created by: 0joshuaolson1*
The tab spins and nothing shows up.
*Created by: 0joshuaolson1*
The tab spins and nothing shows up.
https://gitlab.redox-os.org/redox-os/rusttype/-/issues/6Collaborate with the Piston project?2019-09-28T23:22:25ZJeremy SollerCollaborate with the Piston project?*Created by: bvssvni*
In the Piston project we maintain the FreeType bindings. This causes problems with compilation on some platforms. We started working on a library for TrueType with the goal of replacing FreeType in the long term.
...*Created by: bvssvni*
In the Piston project we maintain the FreeType bindings. This causes problems with compilation on some platforms. We started working on a library for TrueType with the goal of replacing FreeType in the long term.
I opened an issue for discussion https://github.com/PistonDevelopers/truetype/issues/25 about collaborating.
https://gitlab.redox-os.org/redox-os/redox/-/issues/503Latest Redox build does not compile2018-06-15T11:40:03ZJeremy SollerLatest Redox build does not compile*Created by: k0pernicus*
Hi there!
I try to compile the latest Redox-os build, but it seems it doesn't compile, due to an internal compiler error.
This is the compilation error:
```
RUST_BACKTRACE=1 rustc --target=i386-unknown-redox.j...*Created by: k0pernicus*
Hi there!
I try to compile the latest Redox-os build, but it seems it doesn't compile, due to an internal compiler error.
This is the compilation error:
```
RUST_BACKTRACE=1 rustc --target=i386-unknown-redox.json -L build/i386-unknown-redox/debug -C no-prepopulate-passes -C no-stack-check -C opt-level=2 -Z no-landing-pads -A dead_code -o build/i386-unknown-redox/debug/liballoc.rlib rust/src/liballoc/lib.rs
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'box_free language item is missing', ../src/libcore/option.rs:704
stack backtrace:
1: 0x2ad81af1a7e0 - sys::backtrace::tracing::imp::write::h558d5f2978e55ac4ttu
2: 0x2ad81af2237b - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43200
3: 0x2ad81af21ed3 - panicking::default_handler::hbf3975cab47e4b81VWy
4: 0x2ad81aeebd8c - sys_common::unwind::begin_unwind_inner::h78f1521fe1f5d27biit
5: 0x2ad81aeec828 - sys_common::unwind::begin_unwind_fmt::h964018da5137d3feoht
6: 0x2ad81af182e1 - rust_begin_unwind
7: 0x2ad81af68d7f - panicking::panic_fmt::h1951bd5aee0da5596YL
8: 0x2ad81af88884 - option::expect_failed::h9cc346d7ce275f32ftO
9: 0x2ad81cef907a - build::scope::Builder<'a, 'tcx>::diverge_cleanup::heb2dc5d5536e3632Gad
10: 0x2ad81ced7e70 - build::scope::Builder<'a, 'tcx>::pop_scope::hca717148f2269680e0c
11: 0x2ad81cef31d4 - build::expr::into::Builder<'a, 'tcx>::into_expr::hdb0ea7a8fb62013457a
12: 0x2ad81ceed3dc - build::expr::as_rvalue::Builder<'a, 'tcx>::expr_as_rvalue::_$u7b$$u7b$closure$u7d$$u7d$::closure.19083
13: 0x2ad81cee489b - build::expr::as_rvalue::Builder<'a, 'tcx>::expr_as_rvalue::h597b8b19dddfaf21oCa
14: 0x2ad81cef29e3 - build::expr::into::Builder<'a, 'tcx>::into_expr::hdb0ea7a8fb62013457a
15: 0x2ad81cedb59e - build::into::ExprRef<'tcx>.EvalInto<'tcx>::eval_into::hfbe2e392e51e8eac8pb
16: 0x2ad81cef31c3 - build::expr::into::Builder<'a, 'tcx>::into_expr::hdb0ea7a8fb62013457a
17: 0x2ad81cedb59e - build::into::ExprRef<'tcx>.EvalInto<'tcx>::eval_into::hfbe2e392e51e8eac8pb
18: 0x2ad81ced8f99 - build::block::Builder<'a, 'tcx>::ast_block::hd2d2edaabe6cb515Cka
19: 0x2ad81ced4918 - build::construct::ha32a5a60c00e1d44dca
20: 0x2ad81cf1e7ce - mir_map::InnerDump<'a, 'm, 'tcx>.Visitor<'tcx>::visit_fn::h28cf6740ed874f78oqg
21: 0x2ad81cf260d7 - mir_map::OuterDump<'a, 'tcx>.Visitor<'tcx>::visit_impl_item::hd9dd230cd7a2e137Qog
22: 0x2ad81cf1cc11 - mir_map::OuterDump<'a, 'tcx>.Visitor<'tcx>::visit_item::hd3c93606f62b1924zng
23: 0x2ad81cf1bc5b - mir_map::build_mir_for_crate::h119d9e46f857102eJlg
24: 0x2ad81ab2622f - driver::phase_3_run_analysis_passes::_$u7b$$u7b$closure$u7d$$u7d$::closure.27916
25: 0x2ad81ab2211e - middle::ty::context::ctxt<'tcx>::create_and_enter::h7708584257925507687
26: 0x2ad81ab1e273 - driver::phase_3_run_analysis_passes::h14974517076103833877
27: 0x2ad81aaf1078 - driver::compile_input::h3e569cf7fd226ecaBca
28: 0x2ad81aae13e9 - run_compiler::h38b6440e1875c9dbQGc
29: 0x2ad81aade931 - sys_common::unwind::try::try_fn::h12203405518419617659
30: 0x2ad81af1826b - __rust_try
31: 0x2ad81af107ad - sys_common::unwind::inner_try::h876b2793e1ec4011kft
32: 0x2ad81aadf180 - boxed::F.FnBox<A>::call_box::h3648721114673177547
33: 0x2ad81af20940 - sys::thread::Thread::new::thread_start::h36aef2efeb591414fUx
34: 0x2ad822914181 - start_thread
35: 0x2ad81b4c747c - __clone
36: 0x0 - <unknown>
make: *** [build/i386-unknown-redox/debug/liballoc.rlib] Erreur 101
```
I run Redox-OS with the latest nightly of Rust:
```
rustc --version
--> rustc 1.8.0-nightly (75271d8f1 2016-02-09)
```
Any idea here please? :-/
https://gitlab.redox-os.org/redox-os/ion/-/issues/75Dirs has wrong help text2018-06-12T14:22:04ZMichael Aaron Murphymmstick@pm.meDirs has wrong help text*Created by: maheshm*
https://github.com/redox-os/ion/blob/master/src/main.rs#L211
*Created by: maheshm*
https://github.com/redox-os/ion/blob/master/src/main.rs#L211
https://gitlab.redox-os.org/redox-os/redox/-/issues/502Add std::env::home_dir to libredox2018-06-15T11:40:03ZJeremy SollerAdd std::env::home_dir to libredox*Created by: skylerberg*
I would like to use `std::env::home_dir` in ion for when the user executes a bare `cd`. Adding this will break compatibility with redox unless we have `home_dir` in libredox.
*Created by: skylerberg*
I would like to use `std::env::home_dir` in ion for when the user executes a bare `cd`. Adding this will break compatibility with redox unless we have `home_dir` in libredox.