Commit Graph

  • 0ac5efeaed delete tester master Hugo LAMY 2022-03-15 13:58:32 +01:00
  • 19c3d51726 norme lperrey 2021-12-22 22:19:14 +01:00
  • dfe3f6977a SIGPIPE ignore in builtins commands lperrey 2021-12-22 21:54:22 +01:00
  • fd72d63dd6 fixed invalids rules in rules_command.c lperrey 2021-12-22 20:26:51 +01:00
  • 69adb1cf2f retrieve_path() leak fixed lperrey 2021-12-22 19:34:21 +01:00
  • 9bffb99b30 fix invalid read size in ft_getenv_position() lperrey 2021-12-22 18:11:33 +01:00
  • 9e8d92e0b5 norme lperrey 2021-12-22 17:27:15 +01:00
  • 523f560eab here_doc script_fd fix + line_len in here_doc + error message SIGQUIT lperrey 2021-12-22 15:57:02 +01:00
  • b51535cdbc export builtin bugfix now check frst char before split return error even if argument first char is '=' LuckyLaszlo 2021-12-21 22:42:01 +01:00
  • 638dbbaf9c pipeline.c refactoring LuckyLaszlo 2021-12-21 17:34:44 +01:00
  • 54c9df31e4 error message on cmd segfault. LuckyLaszlo 2021-12-21 17:33:23 +01:00
  • 5a39470290 fixed close() of c->script_fd lperrey 2021-12-21 12:22:25 +01:00
  • e4c4589d3c fixed quotes handling in expand token + split expand_token.c in multiples files lperrey 2021-12-21 01:22:38 +01:00
  • 80917cae7c fixed mistake in rules_command.c lperrey 2021-12-21 00:01:51 +01:00
  • 8ed97346f7 fixed argv open(). previously wrongly dup2() to STDIN. lperrey 2021-12-20 22:52:41 +01:00
  • 6a9b7bae1b rules_command.c refactoring for clarity lperrey 2021-12-20 21:32:17 +01:00
  • e138e6550b close cmd fd after each exec lperrey 2021-12-20 18:10:53 +01:00
  • 0cfb13595c merge lperrey 2021-12-20 17:58:24 +01:00
  • 11d2f36307 norme headers + add -Werror flag in Makefile lperrey 2021-12-20 17:56:35 +01:00
  • b8281e329c remis Werror dans makefile et resoud warning dans new_token_for_each_field pour le retour de lst_clear Hugo LAMY 2021-12-20 17:25:36 +01:00
  • 7de89b43b1 srcs a la norme Hugo LAMY 2021-12-20 17:02:57 +01:00
  • 8959166804 norme en cours... Hugo LAMY 2021-12-20 15:54:07 +01:00
  • 0a64977cdc merging conflicts Hugo LAMY 2021-12-20 15:07:58 +01:00
  • 59a43ea1cc momentanee solution pour extern variable Hugo LAMY 2021-12-20 15:06:31 +01:00
  • b81ea045e8 ajout qq sources dans readme hugogogo hugogogo 2021-12-20 12:26:39 +01:00
  • 0272d3a26f merge conflicts hugogogo 2021-12-19 12:12:43 +01:00
  • 5edae3c86a modifs in minishell_tests et unset hugogogo 2021-12-19 10:52:48 +01:00
  • 49099a0abd shell _script() use gnl() instead of readline() to prevent copy of input to terminal. + here_doc_write_script() for nontty STDIN LuckyLaszlo 2021-12-18 15:25:45 +01:00
  • 0e520ef31e fixed crash in builtin export with "" argument + builtin unset now update PATH LuckyLaszlo 2021-12-18 13:45:20 +01:00
  • 7dcf48dd78 merge de luke hugogogo 2021-12-18 12:34:26 +01:00
  • 01bbec2774 modifs avec luke hugogogo 2021-12-18 12:30:12 +01:00
  • fa474c86ab fixed signal exit in shell_script() LuckyLaszlo 2021-12-18 08:55:54 +01:00
  • afbb1cd2e0 shell_script() + reset "rl_event_hook" to NULL after here_doc() + split init.c in multiple files + submodule minishell_tests LuckyLaszlo 2021-12-18 05:42:08 +01:00
  • 8d6d5514d8 a jour avec la branche master hugogogo 2021-12-17 17:48:22 +01:00
  • 530027c0e8 commit pour merge hugogogo 2021-12-17 12:00:32 +01:00
  • fa71189132 split valid_command.c in two files LuckyLaszlo 2021-12-17 04:13:21 +01:00
  • 36de7bf150 added valid_command() rule (only "cmd_prefix") + skip exec if no cmd_name in a command LuckyLaszlo 2021-12-17 03:17:58 +01:00
  • 424e2563ac commit change in readme hugogogo 2021-12-16 14:45:42 +01:00
  • 59f0b7603b deleted terminal.c LuckyLaszlo 2021-12-16 06:39:29 +01:00
  • e5852579ef submodule minishell_tests LuckyLaszlo 2021-12-16 06:15:26 +01:00
  • 81cc6fbff6 handle_access_error() exit status LuckyLaszlo 2021-12-16 06:04:03 +01:00
  • 06f1987ae4 small adjust in files LuckyLaszlo 2021-12-16 05:05:25 +01:00
  • 20c71bccbb generic.c file split LuckyLaszlo 2021-12-16 04:01:29 +01:00
  • f53969cd45 srcs files moved LuckyLaszlo 2021-12-16 03:37:34 +01:00
  • 5a0a237aaa expansions refactoring done LuckyLaszlo 2021-12-16 03:12:32 +01:00
  • 101646f644 modifs readme hugogogo 2021-12-15 14:05:24 +01:00
  • 3490b2ac8f modifs en cours dans readme hugogogo 2021-12-15 14:03:52 +01:00
  • ef490c011e modifs en cours dans readme hugogogo 2021-12-15 13:45:16 +01:00
  • e5f033694b expansions refactoring WIP LuckyLaszlo 2021-12-15 13:42:41 +01:00
  • 5c1d8f527c bugfix, pipeline must continue if expand_redirection() fail + ft_perror_io() delete LuckyLaszlo 2021-12-11 21:22:43 +01:00
  • 9c660d4f92 expand_redirection() : rejoin token list on error + words_expansions.c -> expansions.c + generic.c misc LuckyLaszlo 2021-12-11 20:19:26 +01:00
  • a7de843dc1 check of cmd->error : - before calling cmd_find_access() - before calling simple_command_builtin() LuckyLaszlo 2021-12-11 05:53:55 +01:00
  • 465c4de21e update submodule commit LuckyLaszlo 2021-12-11 04:58:14 +01:00
  • 82f0362323 expand redirections LuckyLaszlo 2021-12-11 04:28:43 +01:00
  • d3d55386d9 refactoring parsing (wip) LuckyLaszlo 2021-12-11 04:27:57 +01:00
  • 48a3abac15 modifs dans submodule minishell_test hugogogo 2021-12-10 19:32:14 +01:00
  • 05003b8a91 merge conflicts hugogogo 2021-12-10 10:29:45 +01:00
  • 9322ec9ec9 close_stdio() at exit LuckyLaszlo 2021-12-10 06:34:44 +01:00
  • 592bcb4e93 bugfix pipeline redirections LuckyLaszlo 2021-12-09 20:57:31 +01:00
  • f7d37fadb6 here_doc bugfix LuckyLaszlo 2021-12-09 05:32:20 +01:00
  • 73feaf0230 builtin cd LuckyLaszlo 2021-12-09 04:19:27 +01:00
  • 34da9678dc shlvl_init() fixed leak LuckyLaszlo 2021-12-08 22:00:18 +01:00
  • 322d8d5f09 added minishell_tests as submodule LuckyLaszlo 2021-12-08 21:10:03 +01:00
  • cee6a8962b shlvl_init(), set SHLVL + export builtin small change LuckyLaszlo 2021-12-08 06:36:52 +01:00
  • bcc82aabaf signals adjustements LuckyLaszlo 2021-12-08 04:45:12 +01:00
  • 8125e43065 init_prompt() correct error return LuckyLaszlo 2021-12-08 04:02:00 +01:00
  • 312c90539b adjustement to ft_strjoin() after libft update from libft : ft_strjoin() no longer return if an arg is NULL LuckyLaszlo 2021-12-08 03:46:40 +01:00
  • 8a7611da92 fixed empty quotes expansions LuckyLaszlo 2021-12-08 03:03:16 +01:00
  • caa733e14a open_pipes() bugfix + write "exit" to STDERR (like bash) + set_last_exit_status() on CTRL-C LuckyLaszlo 2021-12-08 00:22:06 +01:00
  • 200e043a8c builtin export fixed and refactored + builtin exit, env verif OK LuckyLaszlo 2021-12-06 03:56:05 +01:00
  • 2d85c34b98 commented debug print in parsing LuckyLaszlo 2021-12-06 01:14:18 +01:00
  • a485b3046e ajouts des tests discord hugogogo 2021-12-05 18:26:44 +01:00
  • b7b3cec6e0 builtin unset + fixed builtin export LuckyLaszlo 2021-12-05 18:15:23 +01:00
  • 39908b71d9 debug du heredoc en pipeline finalement la cause est rldone hugogogo 2021-12-05 17:44:26 +01:00
  • 66183ab441 cd refactoring, error_wrappers LuckyLaszlo 2021-12-05 16:28:41 +01:00
  • 10a8ecaae8 recherche du pbm dans heredoc hugogogo 2021-12-05 14:16:11 +01:00
  • 0171de26e9 debug de heredoc hugogogo 2021-12-05 11:08:49 +01:00
  • c3a9035622 builtins cd, pwd (todo, refactoring cd) LuckyLaszlo 2021-12-05 01:01:27 +01:00
  • 27c00a78a0 export builtin LuckyLaszlo 2021-12-04 18:14:24 +01:00
  • a288ad473e test unitaires a peu pres ok :) hugogogo 2021-12-03 22:32:07 +01:00
  • 2eed0f2d45 little fix, ft_lstnew_generic() prototype. + unused c var in builtin_env() LuckyLaszlo 2021-12-03 16:10:04 +01:00
  • 27f8059d8a fix bug last line et ajout info sur next command si option print hugogogo 2021-12-03 12:24:23 +01:00
  • 6ac25b11ae ajout option log et ignore comments in tests hugogogo 2021-12-03 11:22:24 +01:00
  • 294a818924 tests heredocs hugogogo 2021-12-03 07:01:20 +01:00
  • 687b1d8631 tests heredocs hugogogo 2021-12-03 07:00:39 +01:00
  • a432f6bf77 qq modifs pour pouvoir travailler sur les tests hugogogo 2021-12-02 15:56:59 +01:00
  • bb73a5e65c resolve merge conflict small changes in heredoc hugogogo 2021-12-02 15:33:42 +01:00
  • 116276b0a2 test unitaire avance hugogogo 2021-12-02 15:29:16 +01:00
  • fb1974dd3b redirect readline() prompt to stderr (like bash) useful for testing program. LuckyLaszlo 2021-12-02 01:47:14 +01:00
  • d710f5ef68 fixed readline() leak/double_free with **environ LuckyLaszlo 2021-12-02 01:35:02 +01:00
  • b3f74c4179 refactoring exec LuckyLaszlo 2021-12-01 17:24:32 +01:00
  • b08da252de lexing comment remove LuckyLaszlo 2021-12-01 16:02:25 +01:00
  • 025ef76c01 refactoring lexing LuckyLaszlo 2021-12-01 16:00:36 +01:00
  • 6a077174bc debut ecriture test_unitaires var assign resultat de plusieurs commandes hugogogo 2021-11-30 22:34:34 +01:00
  • ffd06c4b95 ft_free_null() + refactoring shell_loop() LuckyLaszlo 2021-11-30 14:12:05 +01:00
  • b265e8475a free_exit() renamed exit_free() LuckyLaszlo 2021-11-29 12:44:46 +01:00
  • 33f4878f36 exit status Macro LuckyLaszlo 2021-11-29 12:42:52 +01:00
  • cb5c2dcb30 "cmd_arr/cmd_array" renamed to "pipeline" LuckyLaszlo 2021-11-29 12:32:03 +01:00
  • aa7efdab15 delete useless files LuckyLaszlo 2021-11-29 12:15:45 +01:00
  • 5b3e566b25 searching solution for invalid free in readline. LuckyLaszlo 2021-11-29 12:15:17 +01:00