Commit Graph

168 Commits

Author SHA1 Message Date
hugogogo
424e2563ac commit change in readme 2021-12-16 14:45:42 +01:00
hugogogo
101646f644 modifs readme 2021-12-15 14:05:24 +01:00
hugogogo
3490b2ac8f modifs en cours dans readme 2021-12-15 14:03:52 +01:00
hugogogo
ef490c011e modifs en cours dans readme 2021-12-15 13:45:16 +01:00
hugogogo
48a3abac15 modifs dans submodule minishell_test 2021-12-10 19:32:14 +01:00
hugogogo
05003b8a91 merge conflicts 2021-12-10 10:29:45 +01:00
LuckyLaszlo
9322ec9ec9 close_stdio() at exit 2021-12-10 06:34:44 +01:00
LuckyLaszlo
592bcb4e93 bugfix pipeline redirections 2021-12-09 20:57:31 +01:00
LuckyLaszlo
f7d37fadb6 here_doc bugfix 2021-12-09 05:32:20 +01:00
LuckyLaszlo
73feaf0230 builtin cd 2021-12-09 04:19:27 +01:00
LuckyLaszlo
34da9678dc shlvl_init() fixed leak 2021-12-08 22:00:18 +01:00
LuckyLaszlo
322d8d5f09 added minishell_tests as submodule 2021-12-08 21:10:03 +01:00
LuckyLaszlo
cee6a8962b shlvl_init(), set SHLVL
+ export builtin small change
2021-12-08 06:36:52 +01:00
LuckyLaszlo
bcc82aabaf signals adjustements 2021-12-08 04:45:12 +01:00
LuckyLaszlo
8125e43065 init_prompt() correct error return 2021-12-08 04:02:00 +01:00
LuckyLaszlo
312c90539b adjustement to ft_strjoin() after libft update
from libft : ft_strjoin() no longer return if an arg is NULL
2021-12-08 03:46:40 +01:00
LuckyLaszlo
8a7611da92 fixed empty quotes expansions 2021-12-08 03:03:16 +01:00
LuckyLaszlo
caa733e14a open_pipes() bugfix
+ write "exit" to STDERR (like bash)
+ set_last_exit_status() on CTRL-C
2021-12-08 00:22:06 +01:00
LuckyLaszlo
200e043a8c builtin export fixed and refactored
+ builtin exit, env verif OK
2021-12-06 03:56:05 +01:00
LuckyLaszlo
2d85c34b98 commented debug print in parsing 2021-12-06 01:14:18 +01:00
hugogogo
a485b3046e ajouts des tests discord 2021-12-05 18:26:44 +01:00
LuckyLaszlo
b7b3cec6e0 builtin unset + fixed builtin export 2021-12-05 18:15:23 +01:00
hugogogo
39908b71d9 debug du heredoc en pipeline finalement la cause est rldone 2021-12-05 17:44:26 +01:00
LuckyLaszlo
66183ab441 cd refactoring, error_wrappers 2021-12-05 16:28:41 +01:00
hugogogo
10a8ecaae8 recherche du pbm dans heredoc 2021-12-05 14:16:11 +01:00
hugogogo
0171de26e9 debug de heredoc 2021-12-05 11:08:49 +01:00
LuckyLaszlo
c3a9035622 builtins cd, pwd (todo, refactoring cd) 2021-12-05 01:01:27 +01:00
LuckyLaszlo
27c00a78a0 export builtin 2021-12-04 18:14:24 +01:00
hugogogo
a288ad473e test unitaires a peu pres ok :) 2021-12-03 22:32:07 +01:00
LuckyLaszlo
2eed0f2d45 little fix, ft_lstnew_generic() prototype.
+ unused c var in builtin_env()
2021-12-03 16:10:04 +01:00
hugogogo
27f8059d8a fix bug last line et ajout info sur next command si option print 2021-12-03 12:24:23 +01:00
hugogogo
6ac25b11ae ajout option log et ignore comments in tests 2021-12-03 11:22:24 +01:00
hugogogo
294a818924 tests heredocs 2021-12-03 07:01:20 +01:00
hugogogo
687b1d8631 tests heredocs 2021-12-03 07:00:39 +01:00
hugogogo
a432f6bf77 qq modifs pour pouvoir travailler sur les tests 2021-12-02 15:56:59 +01:00
hugogogo
bb73a5e65c resolve merge conflict small changes in heredoc 2021-12-02 15:33:42 +01:00
hugogogo
116276b0a2 test unitaire avance 2021-12-02 15:29:16 +01:00
LuckyLaszlo
fb1974dd3b redirect readline() prompt to stderr (like bash)
useful for testing program.
2021-12-02 01:47:14 +01:00
LuckyLaszlo
d710f5ef68 fixed readline() leak/double_free with **environ 2021-12-02 01:35:02 +01:00
LuckyLaszlo
b3f74c4179 refactoring exec 2021-12-01 17:24:32 +01:00
LuckyLaszlo
b08da252de lexing comment remove 2021-12-01 16:02:25 +01:00
LuckyLaszlo
025ef76c01 refactoring lexing 2021-12-01 16:00:36 +01:00
hugogogo
6a077174bc debut ecriture test_unitaires var assign resultat de plusieurs commandes 2021-11-30 22:34:34 +01:00
LuckyLaszlo
ffd06c4b95 ft_free_null()
+ refactoring shell_loop()
2021-11-30 14:12:05 +01:00
LuckyLaszlo
b265e8475a free_exit() renamed exit_free() 2021-11-29 12:44:46 +01:00
LuckyLaszlo
33f4878f36 exit status Macro 2021-11-29 12:42:52 +01:00
LuckyLaszlo
cb5c2dcb30 "cmd_arr/cmd_array" renamed to "pipeline" 2021-11-29 12:32:03 +01:00
LuckyLaszlo
aa7efdab15 delete useless files 2021-11-29 12:15:45 +01:00
LuckyLaszlo
5b3e566b25 searching solution for invalid free in readline. 2021-11-29 12:15:17 +01:00
LuckyLaszlo
3baf91afb3 replaced occurrences of last exit_status
+ deleted envp comments
+ WIP Macro exit status
+ TODO : Invalid free of environ in readline
2021-11-27 12:59:16 +01:00