Commit graph

777 commits

Author SHA1 Message Date
M600
c4df4b837b Norme for autocompletion module 2017-03-16 09:18:25 +01:00
wescande
8b8259b353 Merge branch 'master' of github.com:jzck/42sh 2017-03-15 23:55:11 +01:00
wescande
21f5b377d9 some norme + debut de correction des var dans script 2017-03-15 23:55:00 +01:00
wescande
0d60e7a410 modif de expand avec l'ifs sur le local + modif de command get output car fonction interdite (execle remplace par exeve) 2017-03-15 23:24:02 +01:00
Jack Halford
0cf371e58a merge 2017-03-15 22:03:26 +01:00
Jack Halford
85fbbe3d8a some norme, builtin_read refactoring 2017-03-15 21:54:30 +01:00
Antoine Riard
6401e1759f gestion d erreurs math builtin 2017-03-15 21:06:35 +01:00
Antoine Riard
a68ad0af01 func ok 2017-03-15 20:08:04 +01:00
Antoine Riard
95186a124f func ok: 2017-03-15 19:57:08 +01:00
Jack Halford
29f0b5835f fichier auteur 2017-03-15 18:22:24 +01:00
Jack Halford
0b608c0b94 ft_prompt uses ft_printf not printf 2017-03-15 18:15:09 +01:00
Jack Halford
6bfd442e82 #1, removed perror illegal function 2017-03-15 18:12:10 +01:00
Jack Halford
124fb2138a Makefile update: binary stripping. #1 easier to see illegal functions 2017-03-15 18:09:39 +01:00
Jack Halford
dec15b7ae2 close p.to_close before redirections 2017-03-15 17:57:31 +01:00
Jack Halford
9f88ed37db issue #92, inversion de O_RDONLY et O_WRONLY pour >& et <& 2017-03-15 17:50:33 +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
65013fcae6 #37 2017-03-15 15:51:52 +01:00
gwojda
39d5b25084 fix bug completion resize sur fenetre minuscule 2017-03-15 14:40:19 +01:00
M600
bcf72b5bd2 Fix autocompletion arrow not propelly moving 2017-03-15 14:27:31 +01:00
gwojda
e685f97734 job control notification correction invalid read 2017-03-15 11:25:27 +01:00
gwojda
c2b7a9e027 #107 2017-03-15 10:53:20 +01:00
gwojda
26583e9027 fix setenv #105' 2017-03-15 10:48:08 +01:00
M600
af97e96d60 Fix #104 modified files c_abs_path.c and c_parser.c 2017-03-15 06:59:03 +01:00
wescande
15870d6a89 ajout du super script pour pas push ses headers JUST DO IT 2017-03-15 04:26:54 +01:00
wescande
7b6f848d00 minor tricks 2017-03-15 04:26:17 +01:00
wescande
cdfac4c3fc fix merge 2017-03-15 03:53:37 +01:00
wescande
f2c3ae16e9 glob a la norme + close an issue 2017-03-15 03:35:05 +01:00
Antoine Riard
80cfacb577 commit propre 2017-03-15 02:14:15 +01:00
Antoine Riard
23e15022d5 modifs execution if 2017-03-15 02:11:44 +01:00
Antoine Riard
7637b2b886 modifs execution if 2017-03-15 02:11:37 +01:00
Antoine Riard
c45cb705b0 better parsing et exec case , for 2017-03-15 01:58:01 +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
wescande
9cb019a4e4 Merge branch 'master' of github.com:jzck/42sh 2017-03-14 20:22:16 +01:00
wescande
6799dc9c27 protection des prints 2017-03-14 20:22:09 +01:00
wescande
30556cdba2 le retour des BQUOTE 2017-03-14 20:20:19 +01:00
gwojda
dce9df5008 correction rematch env 2017-03-14 17:21:56 +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
864b8ec120 rip leaks 2017-03-14 15:03:31 +01:00
gwojda
9ee6c10884 correction bug 2017-03-14 15:00:31 +01:00
gwojda
9545cb5e00 avec le header c'est mieux... 2017-03-14 13:51:06 +01:00
gwojda
b7e3ef3ecd #98 message d'erreur en cas de fichier corrompu 2017-03-14 13:50:39 +01:00
gwojda
23da659513 #98 2017-03-14 13:44:32 +01:00
gwojda
b1c3c2d66c #37 2017-03-14 12:46:25 +01:00
gwojda
b97f268578 oublies d'un fichier 2017-03-14 12:16:51 +01:00
gwojda
c654e524f4 fix somes bugs #100 2017-03-14 12:14:06 +01:00
gwojda
21ded04b0d #85 2017-03-14 10:14:16 +01:00
gwojda
2fe142c383 #86 2017-03-14 09:41:01 +01:00
Antoine Riard
dc1662f754 modifs var 2017-03-14 00:55:16 +01:00
Antoine Riard
c64b0cc161 modifs var 2017-03-14 00:53:02 +01:00
Antoine Riard
f02222d882 modifs var 2017-03-14 00:52:51 +01:00
Jack Halford
7216b0185f compile error 2017-03-14 00:16:51 +01:00
Jack Halford
65ef17b62c further subshell/brace launch re-design 2017-03-14 00:03:15 +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
8fa77616a2 news parsing if and case 2017-03-13 22:50:13 +01:00
Antoine Riard
1c1c75934a news parsing if and case 2017-03-13 22:50:02 +01:00
Jack Halford
1c6c22bbbd merge 2017-03-13 22:39:54 +01:00
Jack Halford
b7804d547a big refactoring of execution and process handling 2017-03-13 22:39:12 +01:00
Antoine Riard
30645abeb0 modifs redirection sur pipe 2017-03-13 19:42:56 +01:00
Antoine Riard
79c940eaf6 modifs redirection sur pipe 2017-03-13 19:42:49 +01:00
Antoine Riard
c2d392b520 pull 2017-03-13 19:31:52 +01:00
Antoine Riard
2584111886 before pull 2017-03-13 19:31:07 +01:00
Antoine Riard
944a7e97d4 before pull 2017-03-13 19:30:58 +01:00
Jack Halford
c167d80270 brace group execution done 2017-03-13 19:23:20 +01:00
Jack Halford
5b4a1c9a94 issue #97 2017-03-13 18:02:58 +01:00
Antoine Riard
13ad0dfd34 Merge branch 'master' of https://github.com/jzck/42sh
"assignement word as word if in second position"
2017-03-13 17:52:48 +01:00
Antoine Riard
5c2bb40bf6 assignement word as word if in second position 2017-03-13 17:52:36 +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
f5c35a73d8 heredoc with io_number OK 2017-03-13 16:27:07 +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
Antoine Riard
484621f786 heredoc + subshell correction 2017-03-13 15:01:54 +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