Commit graph

411 commits

Author SHA1 Message Date
wescande
84bf7575c2 rectif exec of script + rectif job_control+ MOTHER FUCKER YEAH 2017-03-21 02:15:59 +01:00
Antoine Riard
c1c19bc52d without print 2017-03-20 23:13:00 +01:00
Antoine Riard
8df150c98e without print 2017-03-20 23:12:00 +01:00
Jack Halford
aebb4f7613 protection free_history_list 2017-03-20 21:26:02 +01:00
gwojda
b9e5321b5b bye bye DG 2017-03-20 18:18:34 +01:00
gwojda
46387a1f6e some norme -> completion, hash, builtin, history, lexer, line_edit 2017-03-20 15:02:24 +01:00
Jack Halford
33f6c24b0e job control minor fixes 2017-03-20 11:49:00 +01:00
Jack Halford
e3cea95575 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-20 11:30:30 +01:00
Jack Halford
cb5d5631c2 fd fix 2017-03-20 11:30:24 +01:00
gwojda
39560e22bc bye bye leaks 2017-03-20 11:26:09 +01:00
Jack Halford
38d8847f82 fd fix, process state now enum not flag 2017-03-20 11:22:43 +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
Jack Halford
e7310fae99 issue #120 one line fix 2017-03-20 08:19:07 +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
c8867156c8 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-19 15:08:36 +01:00
Jack Halford
dfaf728660 builtin_read many changes 2017-03-19 15:08:30 +01:00
wescande
4852fc99ab rectif pour la norme 2017-03-19 13:37:17 +01:00
gwojda
6c955a4a44 fix leaks 2017-03-18 15:43:59 +01:00
wescande
ac6aadc5b6 YOLOOOOOOOOOOOOOOOOOOOO 2017-03-18 00:54:05 +01:00
wescande
aba3713a04 yeay 2017-03-18 00:26:34 +01:00
Antoine Riard
0ea301f3e8 compile ok with math 2017-03-17 23:22:59 +01:00
Antoine Riard
50971a7e23 modifs math 2017-03-17 23:21:25 +01:00
Antoine Riard
a1cb831783 math correction 2017-03-17 23:17:48 +01:00
Jack Halford
4524fac2c8 plein de headers mis a jour avec mon nom 2017-03-17 22:59:56 +01:00
wescande
9078573edc tricks trick 2017-03-17 22:56:41 +01:00
wescande
26d660fd72 recup master fix 2017-03-17 21:19:15 +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
wescande
bb6436c67d Merge branch 'master' into change_launch 2017-03-17 20:45:56 +01:00
wescande
0fbcf79789 some pb for execution 2017-03-17 20:45:27 +01:00
Jack Halford
9bda99e139 ca compile deso deso 2017-03-17 19:46:11 +01:00
Antoine Riard
30cddb4983 Merge branch 'master' of https://github.com/jzck/42sh
"norme + correction syntax error"
2017-03-17 18:43:36 +01:00
Antoine Riard
7f236af741 correction syntax + mise a la norme parser 2017-03-17 18:43:21 +01:00
gwojda
f33a98bff3 fix segv env -i crash 2017-03-17 17:42:41 +01:00
gwojda
1dc4a51920 merge 2017-03-17 10:55:38 +01:00
gwojda
934991beb4 change ret line editing 2017-03-17 10:52:01 +01:00
Antoine Riard
1ad56ece41 master steady, merged end 2017-03-17 00:22:47 +01:00
Antoine Riard
ad3525b9d6 end merge 2017-03-17 00:15:40 +01:00
Antoine Riard
10d30cedb1 merge en cours 2017-03-16 23:46:39 +01:00
Antoine Riard
3d620816a9 error syntax good 2017-03-16 23:22:30 +01:00
Jack Halford
0c848e75d3 lexer NORM, bquote/dquote lexing refactoring 2017-03-16 23:17:33 +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
Jack Halford
8ea584a42c redirection printing on job control 2017-03-16 16:39:33 +01:00
Jack Halford
3da58bcb52 cleanup 2017-03-16 15:47:04 +01:00
Jack Halford
bed9f1d6c2 mean cleanup 2017-03-16 15:04:21 +01:00
Jack Halford
6efd4c7e1f main refactoring 2017-03-16 14:20:44 +01:00
Jack Halford
dec15b7ae2 close p.to_close before redirections 2017-03-15 17:57:31 +01:00
gwojda
26e20534cf correction, merci wescande 2017-03-15 16:53:35 +01:00
gwojda
3bf8abe178 fixe some leaks 2017-03-15 16:38:14 +01:00
gwojda
10ff285727 fixe some leaks 2017-03-15 16:38:04 +01:00
wescande
5d37f0e720 Merge branch 'master' of github.com:jzck/42sh 2017-03-15 16:34:24 +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
gwojda
dbdf84c00f fixe some leaks 2017-03-15 16:18:15 +01:00
gwojda
39d5b25084 fix bug completion resize sur fenetre minuscule 2017-03-15 14:40:19 +01:00
wescande
cdfac4c3fc fix merge 2017-03-15 03:53:37 +01:00
Antoine Riard
8f76f7f44f little modifs 2017-03-15 00:51:22 +01:00
Antoine Riard
a54bd77444 divers modifs + better tree case 2017-03-15 00:48:59 +01:00
Antoine Riard
fc8dcb8d24 divers modifs + better tree case 2017-03-15 00:47:56 +01:00
Jack Halford
4539837339 issue #82 quick fix, dont know if this is a good idea 2017-03-15 00:05:35 +01:00
wescande
d8e76dba3d rectif lorsque get_next_line renvoi une erreur + modif des fd pour pas bug quand on reset 2017-03-14 23:09:31 +01:00
Antoine Riard
de5f4b2a46 math builtin 2017-03-14 23:06:26 +01:00
Jack Halford
9cabd2fb2e forgot to commit 2017-03-14 23:00:42 +01:00
Antoine Riard
36e0522fb3 math as a builtin 2017-03-14 22:58:22 +01:00
Antoine Riard
8791eae9c3 math as a builtin 2017-03-14 22:49:44 +01:00
Jack Halford
c6a23fb2ac no more custom parsing, all is done w/ cliopts 2017-03-14 21:51:40 +01:00
Jack Halford
bb9796f758 merge 2017-03-14 21:12:08 +01:00
Jack Halford
4572a81c5a export finished, added cliopts 2017-03-14 21:11:28 +01:00
gwojda
4084439f7d rip leaks 2017-03-14 17:07:59 +01:00
gwojda
0d4f441670 rip leaks 2017-03-14 16:37:40 +01:00
gwojda
c654e524f4 fix somes bugs #100 2017-03-14 12:14:06 +01:00
Antoine Riard
dc1662f754 modifs var 2017-03-14 00:55:16 +01:00
Antoine Riard
f02222d882 modifs var 2017-03-14 00:52:51 +01:00
Jack Halford
97a0a0f53f merge 2017-03-13 23:59:20 +01:00
Jack Halford
271748861e brace groups and subshell launching re-design 2017-03-13 23:58:17 +01:00
Antoine Riard
95cebeaded news parsing if and case 2017-03-13 22:51:07 +01:00
Antoine Riard
1c1c75934a news parsing if and case 2017-03-13 22:50:02 +01:00
Jack Halford
b7804d547a big refactoring of execution and process handling 2017-03-13 22:39:12 +01:00
Jack Halford
de167920e5 test 2017-03-13 17:51:13 +01:00
Jack Halford
eb466c6c70 merge 2017-03-13 17:42:58 +01:00
Jack Halford
047f77abd6 issue #91 2017-03-13 17:42:00 +01:00
Antoine Riard
1a8f32286d pipe ok with control flow 2017-03-13 16:59:31 +01:00
Antoine Riard
0f50556720 pipe ok with control flow 2017-03-13 16:56:09 +01:00
Jack Halford
f01a770b29 pas d'ajout a l'historique pour les lignes vides 2017-03-13 16:42:56 +01:00
Jack Halford
3ae1cf2100 merge resolved 2017-03-13 16:24:25 +01:00
Jack Halford
6b78971807 heredoc changes 2017-03-13 16:11:46 +01:00
Antoine Riard
923416fdda subshell + heredoc correct 2017-03-13 15:03:46 +01:00
Jack Halford
163c93c0c2 issue #81, probleme de protection free historique, p-e resolu #77 aussi 2017-03-13 14:48:40 +01:00
Jack Halford
bfb7c13e94 fix historique 2017-03-13 14:29:23 +01:00
Jack Halford
4a46f6db57 heredoc fix 2017-03-13 14:13:33 +01:00
Antoine Riard
5c6abae6dc pull ok 2017-03-13 14:08:40 +01:00
Antoine Riard
55b72823cb before pull 2017-03-13 14:06:54 +01:00
Jack Halford
9061e43bea new process group handling is goooooood 2017-03-12 22:01:25 +01:00
Jack Halford
4f7b69b283 ca segfault avec cette ligne 2017-03-12 15:29:35 +01:00
Antoine Riard
2e137390be with show me heredoc data 2017-03-11 19:57:27 +01:00
Antoine Riard
e8d4800f8c mise a la norme parser 2017-03-11 16:24:49 +01:00
Antoine Riard
729cf55cd3 grosse mise a la norme des func parser 2017-03-11 16:24:18 +01:00
Jack Halford
971da39d1b fixed subshells normally 2017-03-11 16:06:39 +01:00