marcnava-42cursus
778e0c0481
Builtins fixed
...
The builtins wasnt protected, now all data received is protected, the hashmap addition is protected and added functionality of env, export and unset (not implemented in this version). Added fixed details documentation in docs/builtins_fixes.md generated by codex and created tests/builtins_edge_cases.sh to test all the builtins to work correctly
2026-02-09 22:08:45 +01:00
280fa51f94
save commit
2026-02-09 20:47:43 +01:00
e983f7fe64
update: builtins hashmap initialized and moved env hashmap initialization to set_envp()
2025-12-02 09:13:59 +01:00
b1cf1d8560
update: integrated hashmaps in builtins, and replaced command calls by builtins
2025-12-02 09:11:01 +01:00
dce51960b1
fix: fixed ignored result compilation errro
2025-12-01 16:31:02 +01:00
e9a07a6bfb
fix: fixed compilation error
2025-12-01 14:12:15 +01:00
a9ba8492a2
fix: executor.c/handle_child was not using the real envp
2025-12-01 14:09:32 +01:00
83d006b40d
fix: Makefile's mandatory rule was not cloning ft_args
2025-12-01 14:06:33 +01:00
027fd2ac5e
Merge branch 'feature/builtins' into develop
2025-12-01 14:01:24 +01:00
30ce96284a
fix: get_env call was not using minishell struct
2025-12-01 14:01:08 +01:00
956505c06a
Merge branch 'feature/builtins' into develop
2025-12-01 14:00:13 +01:00
212c4e3fee
update: updated getenv calls by get_env
2025-12-01 13:59:52 +01:00
50736d533d
update: changed getenv calls by get_env
2025-12-01 13:52:28 +01:00
daad208a00
update: added hashmap functionality to environment variables
2025-12-01 13:47:17 +01:00
214d7c24d2
update: added echo builtin
2025-11-02 03:14:43 +01:00
52807ca13c
Merge branch 'develop' into feature/builtins
2025-11-01 20:42:49 +01:00
2800c7fd6d
update: added HYPHEN and UNDERSCORE chardefs
2025-11-01 20:41:06 +01:00
0185d487d1
fix: BACKSLASH was equal to SINGLE_QUOTE
2025-11-01 20:37:51 +01:00
09f7e8aac0
update: added ft_args library
2025-11-01 20:10:40 +01:00
ee7a879de5
update: added cd builtin
2025-10-31 01:41:50 +01:00
5fc0af6bb3
update: minishell execution is now dependant on minishell.exit
2025-10-30 22:39:22 +01:00
8194a1d8d8
Merge branch 'feature/builtins' into develop
2025-10-30 13:25:09 +01:00
78944cfa67
Merge branch 'feature/executor' into develop
2025-10-30 13:24:31 +01:00
e478651070
Merge branch 'feature/core' into develop
2025-10-30 13:22:04 +01:00
cbfedb7bc5
structure: moved t_command struct definition from parser header file to core header file
2025-10-30 12:56:35 +01:00
a6bf9cb60f
update: added characters to chardefs
2025-10-30 12:52:30 +01:00
646e6fbacc
chore: added valgrind compilation flags in Makefile
2025-10-30 12:23:33 +01:00
6037d1fb8e
Merge branch 'feature/builtin/exit' into feature/builtins
2025-10-30 12:11:15 +01:00
64610183aa
update: updated parameters for pwd builtin
2025-10-30 12:07:21 +01:00
0a0fa27b6b
update: added exit builtin function definition
2025-10-30 12:04:39 +01:00
85d074e9d2
update: added exit command with arguments
2025-10-30 11:59:19 +01:00
1781fa96c4
update: added builtins header file
2025-10-30 01:18:39 +01:00
bbc3b9e9e7
update: added pwd
2025-10-30 01:16:21 +01:00
31a8717bbe
update: added simple executor
2025-10-29 20:57:15 +01:00
13d5968b62
update: norminette is now checked only in main branch
2025-10-23 23:43:23 +02:00
c90fb3ef67
Merge branch 'feature/core' into develop
2025-10-23 23:20:58 +02:00
92926eb2ec
Merge branch 'feature/parser' into develop
2025-10-23 23:18:56 +02:00
0545809fb6
fix: fixed syntax for actions in branches
2025-10-23 23:17:56 +02:00
992fe337c6
update: makefile and norminette workflows are now applied only in main and develop branches
2025-10-23 23:17:56 +02:00
f12a3d8965
chore: suppresed variables that caused errors and removed misplaced function
2025-10-23 23:17:56 +02:00
paulillatxulilla
9941529bcf
fgnhhkl
2025-10-23 23:17:56 +02:00
Paula Adan Perez
9be000792d
hola sedesan
2025-10-23 23:17:56 +02:00
45465a6f85
fix: fixed syntax for actions in branches
2025-10-23 23:15:22 +02:00
841c219700
update: makefile and norminette workflows are now applied only in main and develop branches
2025-10-23 23:15:22 +02:00
8c6c0a205e
fix: fixed syntax for actions in branches
2025-10-23 23:08:07 +02:00
1814821eec
update: makefile and norminette workflows are now applied only in main and develop branches
2025-10-23 23:02:44 +02:00
cc91c9f032
chore: suppresed variables that caused errors and removed misplaced function
2025-10-23 22:58:26 +02:00
sede-san
04a80cc1a2
Merge branch 'feature/parser' into develop
2025-10-23 17:50:23 +02:00
paulillatxulilla
31efa75e9c
fgnhhkl
2025-10-23 17:28:15 +02:00
Paula Adan Perez
ed76ce8a4b
hola sedesan
2025-10-23 17:10:25 +02:00