Commit Graph

  • 3baf91afb3 replaced occurrences of last exit_status + deleted envp comments + WIP Macro exit status + TODO : Invalid free of environ in readline LuckyLaszlo 2021-11-27 12:59:16 +01:00
  • 843b6d84c5 "extern char **environ" in header file + global var g_all deleted, renamed switch_heredoc_sigint LuckyLaszlo 2021-11-26 21:58:52 +01:00
  • 07e98c7cf8 "e_quotes_state" redefined in minishell_structs.h LuckyLaszlo 2021-11-26 21:31:17 +01:00
  • b9d7ebb3cb fix last_exit_status.c LuckyLaszlo 2021-11-26 20:51:07 +01:00
  • 18d430c5cb CO-CODE Hugo-Luke + last_exit_status set/get functions for here_doc + TODO : replace all occurences of last_exit_status + **environ fix + builtin_unset() fix LuckyLaszlo 2021-11-26 20:44:29 +01:00
  • 3465354af5 cd ok et appel a path dans export hugogogo 2021-11-26 00:00:00 +01:00
  • 32eab95d48 qq recherches sur le signal et heredoc hugogogo 2021-11-25 22:44:35 +01:00
  • ac11eee947 unset ok hugogogo 2021-11-25 21:33:46 +01:00
  • ef3e91be13 variable extern environ fonction avec getenv et export ok hugogogo 2021-11-25 19:45:41 +01:00
  • 80410e6d81 gestion sigint dans heredoc fonctionne basiquement hugogogo 2021-11-25 10:06:48 +01:00
  • ef12d6ba4b merging conflict hugogogo 2021-11-18 21:33:47 +01:00
  • 0b6d8cf127 debut modifs heredoc hugogogo 2021-11-18 19:51:08 +01:00
  • 74ee526d57 ajout un fonctionnement signaux avec heredoc hugogogo 2021-11-18 17:20:19 +01:00
  • 7c65dcd897 fixed signal exit status only for last command LuckyLaszlo 2021-11-18 14:38:23 +01:00
  • 0bd9dcb3bb simple_cmd_builtin() done. + exec_cmd_line.c split in multiples files LuckyLaszlo 2021-11-18 14:28:56 +01:00
  • c11c61ec5e en cours de gestion des signaux dans heredoc hugogogo 2021-11-18 13:29:57 +01:00
  • 91d5a0d14c pipeline_exec() complete + TODO : simple_cmd_builtin() + libft small update LuckyLaszlo 2021-11-18 12:38:27 +01:00
  • e715c09de1 precisions sur fonctionnement heredoc hugogogo 2021-11-17 22:03:05 +01:00
  • 860c4daaf0 recherche sur le fonctionnement du heredoc ecrit dans le readme hugogogo 2021-11-17 21:53:25 +01:00
  • 6a4b1f54b2 Merge branch 'master' of bitbucket.org:LuckyLaszlo/minishell into hugogogo hugogogo 2021-11-17 15:28:09 +01:00
  • 26993144cc CO-CODE Hugo-Luke + signals handling adjusted + wait_subshell() with last_exit_status + miscs LuckyLaszlo 2021-11-17 01:35:06 +01:00
  • 965cf99ca5 merge + readline() replace gnl() in here_doc + "int error" in struct "t_cmd" LuckyLaszlo 2021-11-16 22:30:20 +01:00
  • 493ac0bd40 libft update hugogogo 2021-11-16 20:01:41 +01:00
  • f70ee4bae0 before merging with lucky hugogogo 2021-11-16 19:11:15 +01:00
  • 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 LuckyLaszlo 2021-11-16 08:49:57 +01:00
  • 36766501ba gestion des signaux avec execve ok dans test hugogogo 2021-11-15 21:56:50 +01:00
  • 57c271b9e2 signaux fonctionnent sur test hugogogo 2021-11-15 16:09:19 +01:00
  • bb77de0588 cmd_array_fill_argv() LuckyLaszlo 2021-11-14 12:57:18 +01:00
  • 402196b9a9 fix here_doc leak LuckyLaszlo 2021-11-14 11:15:30 +01:00
  • 66b48dc99d redirections WIP LuckyLaszlo 2021-11-14 11:05:58 +01:00
  • 1e682f796d fix invalid read with quotes functions + ft_free_cmd_arr() LuckyLaszlo 2021-11-14 04:59:38 +01:00
  • 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 LuckyLaszlo 2021-11-14 00:09:42 +01:00
  • 86707f9fc6 libft small change LuckyLaszlo 2021-11-13 23:45:10 +01:00
  • 47ae67ed14 ajout des builtins pwd cd et export hugogogo 2021-11-11 17:44:42 +01:00
  • d65a701186 add ctrl-c and ctrl-d aka eof handling hugogogo 2021-11-10 13:46:17 +01:00
  • 0ae84abb14 bugfix expansions LuckyLaszlo 2021-11-08 04:02:43 +01:00
  • 0a5c7545c1 WIP parsing expansions LuckyLaszlo 2021-11-07 04:41:17 +01:00
  • 0a33916c75 tests ok pour modifier fonctionnement de minishell hugogogo 2021-11-05 16:26:27 +01:00
  • 5a98927eff ajout des descriptions des functions de readline hugogogo 2021-11-05 14:38:11 +01:00
  • a6959ac1f8 external functions in readme ok hugogogo 2021-11-04 17:37:19 +01:00
  • 03acb65880 external functions in readme ok hugogogo 2021-11-04 17:36:19 +01:00
  • 533128af89 still continue to fill readme with external functions hugogogo 2021-11-04 15:46:31 +01:00
  • bb44760e2b continue to fill readme with external functions hugogogo 2021-11-04 15:16:36 +01:00
  • f93825ee59 descriptions functions externes dans readme hugogogo 2021-11-04 14:57:34 +01:00
  • 07f458c875 mise a jour libft hugogogo 2021-11-02 14:39:38 +01:00
  • b9fc6a9bc4 merge hugogogo with master resolve conflict hugogogo 2021-11-02 14:16:32 +01:00
  • d4151227b3 merge hugogogo with master hugogogo 2021-11-02 14:04:23 +01:00
  • 27ac62bddc merging luke remote with origin local hugogogo 2021-11-02 13:56:26 +01:00
  • a926a817da parsing et execution partielle de hugo hugogogo 2021-11-02 13:38:52 +01:00
  • 22d4bbfdd0 norme LuckyLaszlo 2021-10-31 01:10:57 +02:00
  • c0ef57499a lexing refactoring LuckyLaszlo 2021-10-30 22:47:02 +02:00
  • ab2aa509df signals and termios WIP + shell script placeholder + generics functions + valgrind add_history() supp + misc LuckyLaszlo 2021-10-30 16:39:24 +02:00
  • 698dcbe1ed execute ok, il manque les heredocs hugogogo 2021-10-30 15:34:45 +02:00
  • 118e2e5bef handle fd hugogogo 2021-10-30 15:27:41 +02:00
  • 0292425bc1 path of cmd ok hugogogo 2021-10-30 14:43:06 +02:00
  • 58ef5a4a03 Fix free for final empty token. LuckyLaszlo 2021-10-30 12:44:06 +02:00
  • 75987a117e cmd argv fill with word and without redirections hugogogo 2021-10-30 10:20:43 +02:00
  • 15bc4d2158 refonte de la gestion des cmd dans parsing hugogogo 2021-10-29 13:26:38 +02:00
  • b1b8a61921 fill cmd et execute pipes ok hugogogo 2021-10-28 21:00:00 +02:00
  • 62955af5b8 merge conflict with master hugogogo 2021-10-27 14:48:31 +02:00
  • 815cedb8ca syntax analysis with simplified shell grammar + TODO : bug to fix in lexer.c LuckyLaszlo 2021-10-24 19:58:19 +02:00
  • 906074d2cb envp dup array + c->last_exit_status LuckyLaszlo 2021-10-24 10:23:20 +02:00
  • 39de10e001 echo builtin + WIP grammar rules in parsing.txt + test trop_de_pipes.sh LuckyLaszlo 2021-10-22 10:53:06 +02:00
  • e08ceeaffe pipe sur redirection ne marche toujours pas hugo_pipes hugogogo 2021-10-20 09:42:26 +02:00
  • f8c23f85b4 il ne faut pas rouvrir le file descriptor, le man precise quil reste ouvert apres un exec, mais il etait seulement en read, pourtant il y a toujours une erreur, ce nest plus la meme hugogogo 2021-10-20 00:33:41 +02:00
  • f2c8898fcc ajout d'un indicateur pour ne pas fermer le file descripto du fichier, mauvaise idee il faut le rouvrir je pense hugogogo 2021-10-20 00:15:50 +02:00
  • 4d812cd346 ca marche a peu pres, il faut gerer la fermeture des fd entre pipes et redirections hugogogo 2021-10-19 22:57:00 +02:00
  • 5279c031fa parsing ok hugogogo 2021-10-19 21:40:22 +02:00
  • 1c5203f0ef tout est casse je recommence avec un parser un peu mieux hugogogo 2021-10-19 21:16:39 +02:00
  • 1054f3d6ff lexer (need refactoring) + littles miscs LuckyLaszlo 2021-10-19 20:25:41 +02:00
  • c225a51199 un pipe fonctionne pour sleep et ls, code tres incomplet et brouillon dans main et readme hugogogo 2021-10-19 00:17:34 +02:00
  • 25d159410f dup2 pose un pbm pour l'instant hugogogo 2021-10-18 22:32:34 +02:00
  • 6e32b4ae47 creation struc pipes hugogogo 2021-10-18 11:28:54 +02:00
  • 7b817bb369 execution de cmd dans fork avec wait hugogogo 2021-10-18 09:01:16 +02:00
  • 226829b891 tests de pipes et fork et execve et wait hugogogo 2021-10-17 22:12:55 +02:00
  • 98f247a378 tout debut implementation pipes hugogogo 2021-10-15 18:17:26 +02:00
  • 97ab70c475 mise au point readme hugogogo 2021-10-15 16:25:38 +02:00
  • 4de1a4120d test code block text hugogogo 2021-10-15 12:38:06 +02:00
  • 3bd7e9be5a test code block text hugogogo 2021-10-15 12:36:18 +02:00
  • e07d989f75 test code block text hugogogo 2021-10-15 12:34:43 +02:00
  • 537d77eb16 test code block hugogogo 2021-10-15 12:29:54 +02:00
  • bc8a4ddbba test code block hugogogo 2021-10-15 12:21:09 +02:00
  • c17aff6dd9 ancre sommaires hugogogo 2021-10-15 12:14:45 +02:00
  • f37ae878d4 ancre sommaires hugogogo 2021-10-15 12:01:29 +02:00
  • 038814e205 ancre sommaires hugogogo 2021-10-15 11:56:55 +02:00
  • cbf273e7ca abandon html hugogogo 2021-10-15 11:54:43 +02:00
  • aa52a8b3d2 tentatives insertion html hugogogo 2021-10-15 11:53:14 +02:00
  • 4f3909d28d tentatives insertion html hugogogo 2021-10-15 11:51:21 +02:00
  • 6ad36aba12 tentatives insertion html hugogogo 2021-10-15 11:49:16 +02:00
  • c98cd3d33e test html dans readme hugogogo 2021-10-15 11:34:32 +02:00
  • 5d0def04eb test html dans readme hugogogo 2021-10-15 11:33:34 +02:00
  • 181e19dd52 ajout ancres sommaire hugogogo 2021-10-15 11:28:17 +02:00
  • d95fc41cc9 test lien sommaire hugogogo 2021-10-15 11:24:07 +02:00
  • ceb6e52cb1 ajout sommaire dans readme hugogogo 2021-10-15 11:19:10 +02:00
  • f7db50192a organisation du readme hugogogo 2021-10-15 11:11:08 +02:00
  • 7e53601ad5 explication de la methode de parsing hugogogo 2021-10-15 10:39:47 +02:00
  • 3e758dc843 ajout ressources sur redirections et heredocs hugogogo 2021-10-15 10:28:43 +02:00
  • 83ebe37270 tentatives de strategie de parsing hugogogo 2021-10-14 18:00:27 +02:00
  • f1e7581531 nouveau classement de la todolist hugogogo 2021-10-14 14:42:56 +02:00
  • d545c5cc51 and again... hugogogo 2021-10-14 00:58:38 +02:00