redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2018-06-12T14:22:04Zhttps://gitlab.redox-os.org/redox-os/ion/-/issues/66Create an examples folder and use it as part of the testing process2018-06-12T14:22:04ZMichael Aaron Murphymmstick@pm.meCreate an examples folder and use it as part of the testing process*Created by: skylerberg*
It would be helpful to have example ion scripts to both help out users and enhance testing. We could have an `examples/` directory with scripts in it. Each script would end with `.ion` and we could also have `.o...*Created by: skylerberg*
It would be helpful to have example ion scripts to both help out users and enhance testing. We could have an `examples/` directory with scripts in it. Each script would end with `.ion` and we could also have `.out` files to show the expected output for each script. Once we have this we could easily add an automatic test to run each of these and compare the actual output with the expected output. This type of integrations testing would add much more confidence for me than any amount of unit testing would.
https://gitlab.redox-os.org/redox-os/redox/-/issues/501Make redox select interpretter for executable scripts by checking shebang2018-06-15T11:40:03ZJeremy SollerMake redox select interpretter for executable scripts by checking shebang*Created by: skylerberg*
IIRC, the way unix operating systems know how to run an executable file is that they look at the first 16 bits. If those bits are the characters `#!` (shebang) then the OS reads the rest of the line and figures ...*Created by: skylerberg*
IIRC, the way unix operating systems know how to run an executable file is that they look at the first 16 bits. If those bits are the characters `#!` (shebang) then the OS reads the rest of the line and figures out which interpreter to use to run the file.
https://gitlab.redox-os.org/redox-os/ion/-/issues/70Support user defined functions in ion2018-06-12T14:22:04ZMichael Aaron Murphymmstick@pm.meSupport user defined functions in ion*Created by: skylerberg*
I think we should do functions differently than other shells. I think they should be able to have a set number of arguments like a normal scripting language.
The first step toward this that I want to implement ...*Created by: skylerberg*
I think we should do functions differently than other shells. I think they should be able to have a set number of arguments like a normal scripting language.
The first step toward this that I want to implement is zero argument functions. These will basically be like aliases. Like Fish, I don't think ion needs aliases when functions can do the job.
https://gitlab.redox-os.org/redox-os/ion/-/issues/71Builtin commands should return exit statuses.2018-06-12T14:22:04ZMichael Aaron Murphymmstick@pm.meBuiltin commands should return exit statuses.*Created by: skylerberg*
Right now all the builtin commands don't return anything. We should return an exit status instead.
*Created by: skylerberg*
Right now all the builtin commands don't return anything. We should return an exit status instead.
https://gitlab.redox-os.org/redox-os/rusttype/-/issues/4Avoid deref polymorphism2018-06-13T17:19:50ZJeremy SollerAvoid deref polymorphism*Created by: nrc*
If you can, refactoring to avoid this anti-pattern would be good. It is not really idiomatic Rust and should be avoided where possible. [Here](https://github.com/nrc/patterns/blob/master/anti_patterns/deref.md)'s a lit...*Created by: nrc*
If you can, refactoring to avoid this anti-pattern would be good. It is not really idiomatic Rust and should be avoided where possible. [Here](https://github.com/nrc/patterns/blob/master/anti_patterns/deref.md)'s a little write up on why it is an anti-pattern.
Really exciting library, by the way!
https://gitlab.redox-os.org/redox-os/ion/-/issues/72Add tilde expansion2018-06-12T14:22:04ZMichael Aaron Murphymmstick@pm.meAdd tilde expansion*Created by: skylerberg*
Here is how bash does it https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html.
I would like to discuss what parts of this we should also do. Let me know what you think.
*Created by: skylerberg*
Here is how bash does it https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html.
I would like to discuss what parts of this we should also do. Let me know what you think.
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.
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/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/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/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/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/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/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/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/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/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/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/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/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.