Commit graph

86 commits

Author SHA1 Message Date
Jack Halford
f17e232003 init/destroy methods for shell_fds and jobc. (#210, #214) 2017-03-27 16:05:38 +02:00
Jack Halford
2bb33fe50c lst OK 2017-03-26 21:59:36 +02:00
Jack Halford
e4824905f2 new exec_init/destroy 2017-03-26 21:41:06 +02:00
wescande
1c213a5f11 norme on data_init 2017-03-24 17:13:11 +01:00
gwojda
57d206d7c7 norme 2017-03-24 16:59:36 +01:00
wescande
1b9d0540da rectif bquote quand on change de dossier + ajout option -v pour le script + je sais plus trop quoi mais cest good 2017-03-24 14:49:46 +01:00
Antoine Riard
e8b9befea2 exec func + correction syntax if 2017-03-23 16:30:37 +01:00
wescande
704f5e6ad7 mise en commentaire du nestage par l'env + ajout du ft_tabdel pour ne plus leaks au niveau des func 2017-03-23 06:30:21 +01:00
Antoine Riard
5e5e0769ba #issue160 : chapeau wescande 2017-03-23 03:17:31 +01:00
Jack Halford
aa7dc0bbc8 builtin_read pipes 2017-03-22 16:50:40 +01:00
Jack Halford
b1f730a833 env ./42sh still making problems 2017-03-22 00:29:03 +01:00
wescande
84bf7575c2 rectif exec of script + rectif job_control+ MOTHER FUCKER YEAH 2017-03-21 02:15:59 +01:00
Jack Halford
685c749d3d lexer norm finished 2017-03-20 10:02:36 +01:00
Jack Halford
f482f78254 data_init and get_fd refactoring 2017-03-20 09:56:58 +01:00
wescande
ac27fb4ce1 Merge branch 'master' of github.com:jzck/42sh 2017-03-19 17:45:32 +01:00
wescande
60f150a4b4 modif env, modif command get ouput, modif hash (just a str is needed) 2017-03-19 17:45:29 +01:00
Jack Halford
dfaf728660 builtin_read many changes 2017-03-19 15:08:30 +01:00
Jack Halford
4524fac2c8 plein de headers mis a jour avec mon nom 2017-03-17 22:59:56 +01:00
Jack Halford
6f4ecd2960 bquotes and '-c' work again 2017-03-17 21:16:54 +01:00
Jack Halford
043b0247b8 token and ast not in data_singleton() 2017-03-17 21:02:13 +01:00
gwojda
f33a98bff3 fix segv env -i crash 2017-03-17 17:42:41 +01:00
Antoine Riard
10d30cedb1 merge en cours 2017-03-16 23:46:39 +01:00
Antoine Riard
64d5500c8d main good 2017-03-16 22:30:02 +01:00
Jack Halford
f65f23b10f job control NORM 2017-03-16 18:46:27 +01:00
wescande
d4c4722884 rectif setenv et mise a la norme. Ajout data init des IFS + data init du SHLVL 2017-03-15 16:34:16 +01:00
Jack Halford
c6a23fb2ac no more custom parsing, all is done w/ cliopts 2017-03-14 21:51:40 +01:00
Antoine Riard
f02222d882 modifs var 2017-03-14 00:52:51 +01:00
Antoine Riard
2e137390be with show me heredoc data 2017-03-11 19:57:27 +01:00
Jack Halford
971da39d1b fixed subshells normally 2017-03-11 16:06:39 +01:00
Jack Halford
d051ccc127 redirection tweaks 2017-03-10 14:01:39 +01:00
Jack Halford
dd6817ff61 issues #71 , #72 2017-03-10 12:58:34 +01:00
Jack Halford
a9799debda issue #72, tried to reset file descriptors but still not working 2017-03-09 15:24:00 +01:00
Antoine Riard
4d13a2e6e6 end merge 2017-03-08 23:44:03 +01:00
Antoine Riard
a8881bfed3 end 2017-03-08 23:20:28 +01:00
Antoine Riard
791b99e469 last commit 2017-03-08 23:18:55 +01:00
Jack Halford
c2952d577c hanged jobs printing and some other stuff 2017-03-08 20:58:34 +01:00
Jack Halford
95be4e209c stuff 2017-03-08 14:52:44 +01:00
Jack Halford
4ee0f24632 compils now 2017-03-08 14:28:34 +01:00
Jack Halford
8528951041 heredoc changes first step 2017-03-08 13:48:58 +01:00
Jack Halford
e711ffc927 issue #50 done 2017-03-08 13:07:46 +01:00
Jack Halford
2a215a6506 launch_file and launch_builtin 2017-03-07 16:40:09 +01:00
Jack Halford
7018cfc326 no more atexit, we call builtin_exit at end of main or at ctrl D 2017-03-07 15:25:28 +01:00
Jack Halford
f62ef4d9c0 reading from files now works 2017-03-03 19:47:06 +01:00
Jack Halford
8b88d41ed9 trying to make files work 2017-03-03 19:05:42 +01:00
Jack Halford
2ad34631e3 parentheses dont trigger more input after lexing 2017-03-03 17:58:08 +01:00
Jack Halford
418859e9e8 it compiles ! much more testing for simple commands to work 2017-03-03 16:51:18 +01:00
Jack Halford
3857b06785 execution much simpler with new parser, thx ariard! 2017-03-02 21:17:16 +01:00
Jack Halford
03152a9e2b conflicts resolved 2017-02-28 21:40:22 +01:00
AntoHesse
9c0984658e exec flow control 2017-02-26 01:13:47 +01:00
Jack Halford
8084ffb6a1 pipes done 2017-02-21 22:42:13 +01:00