Commits on Source (90)
-
The Infinite toshokan authored
-
Jeremy Soller authored
-
baka authored
-
Michael Aaron Murphy authored
-
Michael Aaron Murphy authored
-
Luke Clifton authored
-
Fixes first part of #973
-
matu3ba authored
-
matu3ba authored
adapt tests accordingly
-
matu3ba authored
-
matu3ba authored
The long-term plan is to test the builtin documentation with the binary output and cache it.
-
matu3ba authored
-
matu3ba authored
-
matu3ba authored
rephrase wording, merge tests of same functionality
-
matu3ba authored
fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion
-
matu3ba authored
backtrace shows garbage without debug symbols
-
merge MR 1216 from @NateDogg1232 fixes #997
-
matu3ba authored
removes unnecessary unsafe blocks in ion upstream nix also has them removed bump dependencies, when we change lock file anyway fix some warnings
-
matu3ba authored
decimal used forbidden Rust feature, use the upstreamed fix
-
Jeremy Soller authored
-
Jacob Lorentzon authored
-
matu3ba authored
reason: 1.53.0 has twice compile performance compared to 1.43 and fix deprecated rustfmt option
-
matu3ba authored
fix test string_vars to never parse input of `ls` and never delete the created folders, because deletion breaks CI for unclear reasons.
-
matu3ba authored
-
matu3ba authored
-
matu3ba authored
clippy.toml: Add complexity thresholds for cognitive and type and the msrv to latest stable Rust. crates in members/: Add documentation and licence. Some lints could not be autocorrected and Rust could not figure out which, so manually correct all of them.
-
matu3ba authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
Aurélien Clérac authored
-
-
Jeremy Soller authored
-
Florian Naumann authored
-
Florian Naumann authored
mentions that aliases are also possbile in initrc
-
-
-
Jeremy Soller authored
-
Florian Naumann authored
Job Linux for CI at least does not fail to rust version. Command "make tests" executes without an error to due used rust version
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
integration tests for subst method included
-
-
Florian Naumann authored
-
Florian Naumann authored
-
Florian Naumann authored
-
-
-
Florian Naumann authored
And fixes wrong formatting at generating doc builtin file
-
Destination directory
-
-
-
Florian Naumann authored
-
Fixed warring for usage of xargs in run_examples.sh file See stackoverflow post: https://unix.stackexchange.com/questions/428310/problem-using-xargs-max-args-replace-with-default-delimiter
-
Man page for keybindings, huponexit, unalias, alias and history builtin. Commented proc macro attributes.
-
Florian Naumann authored
-
Florian Naumann authored
bounds error messsage to end user.
-
Improves debug experience for end users who script Adjusted ion manual with error messages showing name of not found variables
-
Since rust 1.56.0 msrv is to be put into Cargo.toml See https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
-
Florian Naumann authored
On fn execute_command under file src/binary/mod.rs
-
-
removed todos about needing a let test rewrite
-
Florian Naumann authored
-
Florian Naumann authored
-
Reason: There is no sign that scripts for ion to parse are properly checked if they contain valid UTF-8. Documented the fact that the current lexing does only handle UTF-8 content. Renamed module quotes to terminator which is the visible concept for outside code Added unit tests for termination of arrays/subshells
-
Florian Naumann authored
Instead of last command. Early exit error in pipeline also shows error code. Document "pipefail" option in builtin.
-
Florian Naumann authored
Substitution with an empty string as third argument now. This can be used to remove found patterns in a string. Relates to issue: #1028 Fixed some warnings
-
Reason: It always fails See issue: #1027
-
Removed clean and format rule from make file Appropriate cargo fmt command is in CONTRIBUTING.md documented cargo clean is well known anyway Removed distclean rule from make file and moved to own bash script Also moved version rule into separate step Also moved install rule of make into bash scripts removed uninstall rule completely redocumented installation process.
-
Florian Naumann authored
Before one could not install Ion shell locally. Had to delete/rest Cargo.lock file so new status of "calc" crate is recognized by the compiler aka showing the error. Pin pointed "calc" crate version on latest commit for stability
-
Florian Naumann authored
Removed obsolete "termion" path entry and its generated warnings
-
-
Provided tests for the two builtins too Fixed warnings produced by "cargo check" command
-
-
Florian Naumann authored
-
-
bjorn3 authored
This removes all usages of the legacy scheme syntax.
-
Kamil Koczurek authored
When computing SWD, $HOME should only be replaced with ~ if it's at the beginning of the string and only once. This fixes the following: * /home/user/home/user -> ~/home/user (previously ~~) * /foo/home/user -> /foo/home/user (previously /foo~)
-
Andrey Turkin authored
-
Andrey Turkin authored
Showing
- .gitignore 8 additions, 0 deletions.gitignore
- .gitlab-ci.yml 43 additions, 21 deletions.gitlab-ci.yml
- CONTRIBUTING.md 90 additions, 7 deletionsCONTRIBUTING.md
- Cargo.lock 1669 additions, 1345 deletionsCargo.lock
- Cargo.toml 37 additions, 23 deletionsCargo.toml
- Makefile 5 additions, 21 deletionsMakefile
- README.md 61 additions, 11 deletionsREADME.md
- bash/distclean.sh 4 additions, 0 deletionsbash/distclean.sh
- bash/install.sh 15 additions, 0 deletionsbash/install.sh
- bash/version.sh 3 additions, 0 deletionsbash/version.sh
- benches/statement.rs 9 additions, 13 deletionsbenches/statement.rs
- clippy.toml 2 additions, 0 deletionsclippy.toml
- manual/README.md 13 additions, 0 deletionsmanual/README.md
- manual/book.toml 10 additions, 8 deletionsmanual/book.toml
- manual/src/SUMMARY.md 8 additions, 10 deletionsmanual/src/SUMMARY.md
- manual/src/builtins.md 0 additions, 608 deletionsmanual/src/builtins.md
- manual/src/control/01-conditionals.md 40 additions, 3 deletionsmanual/src/control/01-conditionals.md
- manual/src/control/03-matches.md 1 addition, 1 deletionmanual/src/control/03-matches.md
- manual/src/expansions/01-variable.md 16 additions, 19 deletionsmanual/src/expansions/01-variable.md
- manual/src/expansions/02-process.md 9 additions, 3 deletionsmanual/src/expansions/02-process.md
This diff is collapsed.
... | ... | @@ -12,29 +12,34 @@ authors = [ |
"Sag0Sag0 <Sag0Sag0@users.noreply.github.com>", | ||
] | ||
build = "build.rs" | ||
categories = ["command-line-utilities", "config"] | ||
description = "The Ion Shell" | ||
documentation = "https://doc.redox-os.org/ion-manual/" | ||
edition = "2018" | ||
keywords = ["shell", "script", "program", "config", "configuration"] | ||
license-file = "LICENSE" | ||
name = "ion-shell" | ||
readme = "README.md" | ||
repository = "https://gitlab.redox-os.org/redox-os/ion" | ||
version = "1.0.0-alpha" | ||
edition = "2018" | ||
keywords = ["shell", "script", "program", "config", "configuration"] | ||
categories = ["command-line-utilities", "config"] | ||
documentation = "https://doc.redox-os.org/ion-manual/" | ||
rust-version = "1.65.0" | ||
[badges] | ||
gitlab = { repository = "https://gitlab.redox-os.org/redox-os/ion", branch = "master" } | ||
maintenance = { status = "experimental" } | ||
[features] | ||
advanced_arg_parsing = [] | ||
man = ["builtins-proc/man"] | ||
piston = ["piston-ai_behavior", "piston_window", "piston2d-sprite"] | ||
unicode = ["regex/unicode"] | ||
[workspace] | ||
members = [ "members/builtins-proc", "members/ranges", "members/scopes-rs", "members/types-rs" ] | ||
members = [ | ||
"members/builtins-proc", | ||
"members/ranges", | ||
"members/scopes-rs", | ||
"members/types-rs", | ||
] | ||
[dev-dependencies] | ||
criterion = "0.3" | ||
... | ... | @@ -58,41 +63,47 @@ name = "ion" |
path = "src/main.rs" | ||
[dependencies] | ||
calculate = { git = "https://gitlab.redox-os.org/redox-os/calc" } | ||
err-derive = "0.2" | ||
calculate = { git = "https://gitlab.redox-os.org/redox-os/calc", rev = "d2719efb67ab38c4c33ab3590822114453960da5" } | ||
thiserror = "1.0" | ||
glob = "0.3" | ||
redox_liner = { git = "https://gitlab.redox-os.org/redox-os/liner" } | ||
rand = "0.7" | ||
regex = { version = "1.3", default-features = false, features = ["std", "perf"] } | ||
small = { git = "https://gitlab.redox-os.org/redox-os/small", features = ["std"] } | ||
smallvec = "0.6" | ||
unicode-segmentation = "1.3" | ||
regex = { version = "1.3", default-features = false, features = [ | ||
"std", | ||
"perf", | ||
] } | ||
small = { git = "https://gitlab.redox-os.org/redox-os/small", features = [ | ||
"std", | ||
] } | ||
smallvec = "1.4" | ||
unicode-segmentation = "1.6" | ||
ion-ranges = { version = "0.1", path = "members/ranges" } | ||
scopes = { version = "0.1", path = "members/scopes-rs" } | ||
types-rs = { version = "0.1", path = "members/types-rs" } | ||
builtins-proc = { version = "0.1", path = "members/builtins-proc" } | ||
itertools = "0.8" | ||
lexical = "4.0" | ||
object-pool = "0.3.1" | ||
auto_enums = "0.6" | ||
structopt = "0.3" | ||
itertools = "0.9" | ||
lexical = "5.2" | ||
object-pool = "0.6" | ||
auto_enums = "0.7" | ||
atty = "0.2" | ||
permutate = "0.3" | ||
xdg = "2.1" | ||
nix = { git = "https://github.com/AdminXVII/nix", branch = "add-redox-support-bis" } | ||
xdg = "2.4" | ||
#nix = "0.23" | ||
# FIXME: Needed because of https://github.com/nix-rust/nix/commit/ff6f8b8a26c8d61f4341e441acf405402b46a430 | ||
nix = { git = "https://github.com/nix-rust/nix.git", rev = "ff6f8b8a" } | ||
mktemp = "0.4" | ||
# window example | ||
piston-ai_behavior = { version = "0.31", optional = true } | ||
piston_window = { version = "0.105", optional = true } | ||
piston_window = { version = "0.120", optional = true } | ||
piston2d-sprite = { version = "0.58", optional = true } | ||
[target."cfg(all(unix, not(target_os = \"redox\")))".dependencies] | ||
users = "0.9" | ||
users = "0.10" | ||
[target."cfg(target_os = \"redox\")".dependencies] | ||
redox_users = "0.3" | ||
redox_users = "0.4" | ||
[target."cfg(target_os = \"dragonfly\")".dependencies] | ||
errno-dragonfly = "0.1.1" | ||
... | ... | @@ -100,11 +111,14 @@ errno-dragonfly = "0.1.1" |
[lib] | ||
path = "src/lib/lib.rs" | ||
[profile.dev] | ||
opt-level = 0 | ||
debug = true | ||
[profile.release] | ||
lto = true | ||
panic = "abort" | ||
# Required to make `cargo vendor` work | ||
[patch.crates-io] | ||
termion = { git = "https://gitlab.redox-os.org/redox-os/termion" } | ||
redox_liner = { git = "https://gitlab.redox-os.org/redox-os/liner" } |
bash/distclean.sh
0 → 100755
bash/install.sh
0 → 100755
bash/version.sh
0 → 100755
clippy.toml
0 → 100644
manual/src/builtins.md
deleted
100644 → 0
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.