ion merge requestshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests2019-07-03T22:31:07Zhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1089Add callbacks for background events2019-07-03T22:31:07ZAdminXVIIAdd callbacks for background eventshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1088Use liner for the calc builtin rather than manipulating stdout directly2019-07-03T22:30:02ZAdminXVIIUse liner for the calc builtin rather than manipulating stdout directlyhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1087Add links for library usage in the README2019-07-03T22:29:46ZAdminXVIIAdd links for library usage in the READMEhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1086Don't set a new pgrp if the terminal already controls the tty2019-06-30T14:10:22ZAdminXVIIDon't set a new pgrp if the terminal already controls the ttyhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1085Add a first example for library users2019-06-30T20:56:53ZAdminXVIIAdd a first example for library usershttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1084Make function clones a lot cheaper2019-06-28T21:08:45ZAdminXVIIMake function clones a lot cheaperUse Rc to reduce the cost of function cloning.
In terms of performance, this is a 20% speed boost with this benchmark:
```
fn demo
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > ...Use Rc to reduce the cost of function cloning.
In terms of performance, this is a 20% speed boost with this benchmark:
```
fn demo
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
echo a > /dev/null
end
for _ in 0..=1000000
demo
end
```https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1083Add a pre-command callback & use generic to separate pipelines2019-06-28T16:22:00ZAdminXVIIAdd a pre-command callback & use generic to separate pipelinesTo make sure not to execute an unexpended pipeline, use generics to separate pre- and post- expansion pipelines
Add a pre-command callbackTo make sure not to execute an unexpended pipeline, use generics to separate pre- and post- expansion pipelines
Add a pre-command callbackhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1082Reduce error depth2019-06-30T20:16:57ZAdminXVIIReduce error depthhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1081Truncate file when not appending2019-06-28T12:57:41ZAdminXVIITruncate file when not appendinghttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1080Abort script on command not found2019-06-28T14:15:27ZAdminXVIIAbort script on command not foundClose #882Close #882https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1079Use the std-native functions instead of hand-rolled ones2019-06-28T13:36:24ZAdminXVIIUse the std-native functions instead of hand-rolled oneshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1078Merge more error types, use the std FromStr trait and use by-module Error types2019-06-27T20:23:10ZAdminXVIIMerge more error types, use the std FromStr trait and use by-module Error typeshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1077Merge/remove error types2019-06-27T17:15:30ZAdminXVIIMerge/remove error typeshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1076Use nix2019-06-27T15:11:12ZAdminXVIIUse nixBreaking change: when a child exits because of a signal, the shell no longer takes an exit code of 128 + signal, only a simple 1.
The resulting executable is not slower, but has a 1% size increase. The signals are printed as text at out...Breaking change: when a child exits because of a signal, the shell no longer takes an exit code of 128 + signal, only a simple 1.
The resulting executable is not slower, but has a 1% size increase. The signals are printed as text at output, though.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1075:bug: The set_unique_pid was removed, but it was necessary2019-06-26T19:56:34ZAdminXVII:bug: The set_unique_pid was removed, but it was necessaryWhen Ion is started as a login shell, the `login` command expects theshell to take ownership of the terminal. Else, the read command fails, putting liner in an infinite loop. Bring back the set_unique_pid function.When Ion is started as a login shell, the `login` command expects theshell to take ownership of the terminal. Else, the read command fails, putting liner in an infinite loop. Bring back the set_unique_pid function.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1074Remove a left out comment in completion2019-06-26T17:42:53ZAdminXVIIRemove a left out comment in completionhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1073Apply clippy in pedantic mode2019-06-26T16:42:47ZAdminXVIIApply clippy in pedantic modehttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1072Add bugs and authors sections2019-06-25T21:10:00ZAdminXVIIAdd bugs and authors sectionsThis does not outputs the name of the authors, only a generic "The Ion developers, under the Redox OS organisation" message for the sake of brevity.This does not outputs the name of the authors, only a generic "The Ion developers, under the Redox OS organisation" message for the sake of brevity.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1071Finish documenting the public API2019-06-25T20:05:59ZAdminXVIIFinish documenting the public APIImportant change: this denies adding non-documented types to the API to avoid documentation regressionImportant change: this denies adding non-documented types to the API to avoid documentation regressionhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1070Add a description of the or method in the manual2019-06-25T18:16:11ZAdminXVIIAdd a description of the or method in the manual