Commit Graph

98 Commits

Author SHA1 Message Date
LuckyLaszlo
26993144cc CO-CODE Hugo-Luke
+ signals handling adjusted
+ wait_subshell() with last_exit_status
+ miscs
2021-11-17 01:35:06 +01:00
LuckyLaszlo
965cf99ca5 merge
+ readline() replace gnl() in here_doc
+ "int error" in struct "t_cmd"
2021-11-16 22:30:20 +01:00
hugogogo
f70ee4bae0 before merging with lucky 2021-11-16 19:11:15 +01:00
LuckyLaszlo
140549db00 WIP exec_cmd_line()
+ fix error handle in redirections()
+ rename ft_free_cmd_arr() to free_pipeline()
+ "char **path" added to "struct t_all"
+ misc
2021-11-16 08:49:57 +01:00
hugogogo
36766501ba gestion des signaux avec execve ok dans test 2021-11-15 21:56:50 +01:00
hugogogo
57c271b9e2 signaux fonctionnent sur test 2021-11-15 16:09:19 +01:00
LuckyLaszlo
bb77de0588 cmd_array_fill_argv() 2021-11-14 12:57:18 +01:00
LuckyLaszlo
402196b9a9 fix here_doc leak 2021-11-14 11:15:30 +01:00
LuckyLaszlo
66b48dc99d redirections WIP 2021-11-14 11:05:58 +01:00
LuckyLaszlo
1e682f796d fix invalid read with quotes functions
+ ft_free_cmd_arr()
2021-11-14 04:59:38 +01:00
LuckyLaszlo
106af37b58 words_expansions() complete
+ TODO : need refactoring and fix to valgrind invalid read size
+ redirections() WIP
+ Generic ft_dup_2d_arr(), ft_split_quotes(), ft_strdup_quotes()
+ shell_loop() continue on error
+ various small fix
2021-11-14 00:09:42 +01:00
LuckyLaszlo
86707f9fc6 libft small change 2021-11-13 23:45:10 +01:00
hugogogo
47ae67ed14 ajout des builtins pwd cd et export 2021-11-11 17:44:42 +01:00
hugogogo
d65a701186 add ctrl-c and ctrl-d aka eof handling 2021-11-10 13:46:17 +01:00
LuckyLaszlo
0ae84abb14 bugfix expansions 2021-11-08 04:02:43 +01:00
LuckyLaszlo
0a5c7545c1 WIP parsing expansions 2021-11-07 04:41:17 +01:00
hugogogo
0a33916c75 tests ok pour modifier fonctionnement de minishell 2021-11-05 16:26:27 +01:00
hugogogo
5a98927eff ajout des descriptions des functions de readline 2021-11-05 14:38:11 +01:00
hugogogo
a6959ac1f8 external functions in readme ok 2021-11-04 17:37:19 +01:00
hugogogo
03acb65880 external functions in readme ok 2021-11-04 17:36:19 +01:00
hugogogo
533128af89 still continue to fill readme with external functions 2021-11-04 15:46:31 +01:00
hugogogo
bb44760e2b continue to fill readme with external functions 2021-11-04 15:16:36 +01:00
hugogogo
f93825ee59 descriptions functions externes dans readme 2021-11-04 14:57:34 +01:00
hugogogo
07f458c875 mise a jour libft 2021-11-02 14:39:38 +01:00
hugogogo
b9fc6a9bc4 merge hugogogo with master resolve conflict 2021-11-02 14:16:32 +01:00
hugogogo
d4151227b3 merge hugogogo with master 2021-11-02 14:04:23 +01:00
hugogogo
27ac62bddc merging luke remote with origin local 2021-11-02 13:56:26 +01:00
hugogogo
a926a817da parsing et execution partielle de hugo 2021-11-02 13:38:52 +01:00
LuckyLaszlo
22d4bbfdd0 norme 2021-10-31 01:10:57 +02:00
LuckyLaszlo
c0ef57499a lexing refactoring 2021-10-30 22:47:02 +02:00
LuckyLaszlo
ab2aa509df signals and termios WIP
+ shell script placeholder
+ generics functions
+ valgrind add_history() supp
+ misc
2021-10-30 16:39:24 +02:00
hugogogo
698dcbe1ed execute ok, il manque les heredocs 2021-10-30 15:34:45 +02:00
hugogogo
118e2e5bef handle fd 2021-10-30 15:27:41 +02:00
hugogogo
0292425bc1 path of cmd ok 2021-10-30 14:43:06 +02:00
LuckyLaszlo
58ef5a4a03 Fix free for final empty token. 2021-10-30 12:44:06 +02:00
hugogogo
75987a117e cmd argv fill with word and without redirections 2021-10-30 10:20:43 +02:00
hugogogo
15bc4d2158 refonte de la gestion des cmd dans parsing 2021-10-29 13:26:38 +02:00
hugogogo
b1b8a61921 fill cmd et execute pipes ok 2021-10-28 21:00:00 +02:00
hugogogo
62955af5b8 merge conflict with master 2021-10-27 14:48:31 +02:00
LuckyLaszlo
815cedb8ca syntax analysis with simplified shell grammar
+ TODO : bug to fix in lexer.c
2021-10-24 19:58:19 +02:00
LuckyLaszlo
906074d2cb envp dup array
+ c->last_exit_status
2021-10-24 10:23:20 +02:00
LuckyLaszlo
39de10e001 echo builtin
+ WIP grammar rules in parsing.txt
+ test trop_de_pipes.sh
2021-10-22 10:53:06 +02:00
LuckyLaszlo
1054f3d6ff lexer (need refactoring)
+ littles miscs
2021-10-19 20:25:41 +02:00
hugogogo
97ab70c475 mise au point readme 2021-10-15 16:25:38 +02:00
hugogogo
4de1a4120d test code block text 2021-10-15 12:38:06 +02:00
hugogogo
3bd7e9be5a test code block text 2021-10-15 12:36:18 +02:00
hugogogo
e07d989f75 test code block text 2021-10-15 12:34:43 +02:00
hugogogo
537d77eb16 test code block 2021-10-15 12:29:54 +02:00
hugogogo
bc8a4ddbba test code block 2021-10-15 12:21:09 +02:00
hugogogo
c17aff6dd9 ancre sommaires 2021-10-15 12:14:45 +02:00