Skip to content
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
63019f2
chore: replace libc execve with nix::unistd::execve for safer abstrac…
Jonstep101010 Jan 27, 2025
2c8adb1
chore: cleanup exec_bin
Jonstep101010 Jan 27, 2025
6dba4cb
chore: clean up/align builtins to use vectors instead of ptr arrays
Jonstep101010 Jan 27, 2025
706ff81
WIP: reduce unsafe scope for function decl
Jonstep101010 Jan 28, 2025
ca70db2
chore: prep for elem change to rust container
Jonstep101010 Jan 29, 2025
4a76080
WIP: implement safe abstraction for redirections/heredoc
Jonstep101010 Jan 29, 2025
2331b33
chore: clippy lints
Jonstep101010 Jan 29, 2025
dce6a3b
WIP: change to rust String for elem in t_arg
Jonstep101010 Jan 29, 2025
63b0f38
chore: comment out non-needed, remove raw ptr deps other than tokens
Jonstep101010 Jan 29, 2025
4c24f75
chore: remove unsafe libs (no longer needed)
Jonstep101010 Jan 29, 2025
9f4eb35
WIP: remove all usage of raw pointers in tokenization
Jonstep101010 Jan 29, 2025
7a3c374
chore: cleanup
Jonstep101010 Jan 29, 2025
f6d2e73
chore: cleanup
Jonstep101010 Jan 29, 2025
bf6c605
WIP: restructure modules
Jonstep101010 Jan 29, 2025
0a1f79c
WIP: restructure modules
Jonstep101010 Jan 29, 2025
a645171
WIP: restructure modules
Jonstep101010 Jan 29, 2025
85f00f0
WIP: restructure modules
Jonstep101010 Jan 29, 2025
5856b7d
WIP: restructure modules
Jonstep101010 Jan 29, 2025
a0c36db
WIP: restructure
Jonstep101010 Jan 29, 2025
8ddbdd0
chore: restructure modules
Jonstep101010 Jan 29, 2025
ff2f3f6
chore: simplify, remove unused
Jonstep101010 Jan 29, 2025
603ec8d
chore: refactor expander to modify referenced data in place
Jonstep101010 Jan 29, 2025
03d243f
chore: remove non-needed, restructure
Jonstep101010 Jan 29, 2025
62ba8e3
chore: replace fork with safe wrapper in unistd
Jonstep101010 Jan 29, 2025
db214a1
chore: small cleanup
Jonstep101010 Jan 29, 2025
c285847
chore: switch to rustyline instead of gnu-readline-sys
Jonstep101010 Jan 29, 2025
3c88991
chore: some very basic tests for tokenize
Jonstep101010 Jan 29, 2025
656016c
chore: add a bit of docs
Jonstep101010 Jan 29, 2025
b1ecd98
chore(CI): add workflow
Jonstep101010 Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,468 changes: 189 additions & 2,279 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ path = "src/main.rs"
name = "minishell-rs"
[dependencies]
libc = "0.2"
gnu-readline-sys = "0.1.0"
libft_rs = { package = "libft_rs", git = "https://github.com/Jonstep101010/libft-rs", branch = "main" }
libutils_rs = { package = "libutils_rs", git = "https://github.com/Jonstep101010/libutils-rs", branch = "main" }
bacon = "3.7.0"
nix = { version = "0.29.0", features = ["fs", "term"] }
nix = { version = "0.29.0", features = ["fs", "process", "term"] }
rstest = "0.24.0"
rustyline = "15.0.0"
59 changes: 0 additions & 59 deletions src/builtins/echo.rs

This file was deleted.

58 changes: 0 additions & 58 deletions src/builtins/exit.rs

This file was deleted.

39 changes: 0 additions & 39 deletions src/builtins/export.rs

This file was deleted.

46 changes: 0 additions & 46 deletions src/builtins/unset.rs

This file was deleted.

110 changes: 0 additions & 110 deletions src/environment.rs

This file was deleted.

18 changes: 0 additions & 18 deletions src/environment/check_key.rs

This file was deleted.

Loading