Commit graph

1010 commits

Author SHA1 Message Date
Antoine Riard
f9b39b5142 close #139 2017-03-22 15:36:22 +01:00
gwojda
1cc5de10e5 les binaires c'est tabou, on en viendra tous a bout 2017-03-22 15:33:10 +01:00
Antoine Riard
5765d495c6 Merge branch 'master' of https://github.com/jzck/42sh
"close #141"
2017-03-22 15:25:29 +01:00
Antoine Riard
3a04eeacfc close #141 2017-03-22 15:25:19 +01:00
gwojda
580c5e3ec3 fix bugs completion... 2017-03-22 15:15:21 +01:00
gwojda
316194d860 fix de quelques problemes sur la completion qui tranaient... 2017-03-22 14:25:05 +01:00
Jack Halford
8e4a3c17a8 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-22 13:09:07 +01:00
Jack Halford
4b464b8e09 Merge branch 'launching_jack': nouveau builtin_env, et maintenant les
builtin renvoient leur exitstatus, et le launcher set la variable $?
2017-03-22 13:08:31 +01:00
Jack Halford
3ef3bc8f0a builtin now return their exit status, gonna merge onto master 2017-03-22 13:08:10 +01:00
gwojda
f0e931b44d correction match .> + tab 2017-03-22 13:00:01 +01:00
m600x
4ba59d089b Merge branch 'master' of https://github.com/jzck/42sh 2017-03-22 12:45:39 +01:00
m600x
47d07aaa6d Completion. Norme + c_chevron on hold 2017-03-22 12:45:25 +01:00
Jack Halford
297228e6b0 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-22 12:45:10 +01:00
Jack Halford
11e2a974c4 close issue #145 2017-03-22 12:45:03 +01:00
gwojda
b06deca9c0 #136 2017-03-22 12:23:37 +01:00
Jack Halford
9e8855a9ef env ./42sh still making problems 2017-03-22 00:38:04 +01:00
Jack Halford
b1f730a833 env ./42sh still making problems 2017-03-22 00:29:03 +01:00
Jack Halford
06b2ad21ba merged builtin_env 2017-03-21 22:09:49 +01:00
Jack Halford
36040d152a builtin_env seems stable, gonna merge 2017-03-21 22:08:27 +01:00
Antoine Riard
163edf430b correctif shell is interactive 2017-03-21 21:41:08 +01:00
Antoine Riard
ad2855cebb less leaks but stll somes 2017-03-21 21:19:56 +01:00
Antoine Riard
00cba8ea4d Merge branch 'master' of https://github.com/jzck/42sh
"close #130"
2017-03-21 19:38:56 +01:00
Antoine Riard
6673422632 close #130 2017-03-21 19:38:47 +01:00
Jack Halford
d5a99a7acc gonna start work, cliopts first 2017-03-21 18:41:29 +01:00
gwojda
647755917f ft_malloc 2017-03-21 18:14:37 +01:00
Jack Halford
27da345e70 added a backup path to hash algorithm 2017-03-21 17:40:51 +01:00
Antoine Riard
634d498b03 Merge branch 'master' of https://github.com/jzck/42sh
"/dev/random #125 #126 #131
2017-03-21 16:42:34 +01:00
Antoine Riard
5c4d91d717 /dev/random #125 #126 #131 2017-03-21 16:42:25 +01:00
Jack Halford
376a1e966b Merge branch 'master' of https://github.com/jzck/42sh 2017-03-21 16:41:07 +01:00
Jack Halford
fb806bfa90 issue #128 part 1 2017-03-21 16:41:00 +01:00
Antoine Riard
bd0d63468e /dev/random #125 #126 2017-03-21 16:24:02 +01:00
M600
6313e7ff4c Replaced malloc to ft_malloc for completion 2017-03-21 16:14:01 +01:00
Jack Halford
151b4ec02d added ft_malloc 2017-03-21 16:08:26 +01:00
Jack Halford
2c4eedb94f changed malloc, to ft_malloc. what have I done... 2017-03-21 15:49:51 +01:00
Jack Halford
a5247bea82 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-21 15:26:55 +01:00
Jack Halford
e34666665d error message in cd builtin: 2017-03-21 15:26:43 +01:00
Jack Halford
89fd444e84 job control fine tuning 2017-03-21 15:13:32 +01:00
gwojda
787b1d280a fix bug exec 2017-03-21 15:11:20 +01:00
gwojda
cc4a088f29 conflit 2017-03-21 14:55:52 +01:00
gwojda
e24783c0c7 jai trouvé valgrind :D 2017-03-21 14:53:53 +01:00
gwojda
ea91da06f4 HELP ME ALAO PLS 2017-03-21 14:43:38 +01:00
Jack Halford
95e828b7b7 please use SH_ERR to display error messages 2017-03-21 14:03:29 +01:00
gwojda
83ea52445a debut fixe completion 2017-03-21 13:55:16 +01:00
Jack Halford
b688c4f544 builtin_exit fixing ariard
also better backslash lexer for sample/subshell_pipe
2017-03-21 13:50:42 +01:00
gwojda
930eb5f59a fix probleme completion + tres grosse ligne - on ne se decale plus 2017-03-21 11:22:50 +01:00
gwojda
1ce1ce2cd1 #129 + modif msg d'erreur historique corrompu 2017-03-21 10:40:24 +01:00
wescande
767934736b merge 2017-03-21 02:17:16 +01:00
wescande
84bf7575c2 rectif exec of script + rectif job_control+ MOTHER FUCKER YEAH 2017-03-21 02:15:59 +01:00
Antoine Riard
28d5351c4a exit stauts alphabetic and setenv error assignement word 2017-03-21 01:45:03 +01:00
Antoine Riard
f47f07fa0b exit stauts alphabetic and setenv error assignement word 2017-03-21 01:41:57 +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
Jack Halford
6460fa3f61 readme markdown 2017-03-20 20:57:28 +01:00
Jack Halford
e433a67130 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-20 20:53:30 +01:00
Jack Halford
338913ade0 ctrlD ok 2017-03-20 20:53:23 +01:00
M600
9b0c06e198 README.md barebone 2017-03-20 20:50:25 +01:00
Antoine Riard
f72e8dbe3c modifs historique delim 2017-03-20 19:14:16 +01:00
Antoine Riard
ef7f95d2a0 modifs delim 2017-03-20 19:12:33 +01:00
wescande
7beeaa517e merge 2017-03-20 18:58:44 +01:00
wescande
f4a451a802 free instant process 2017-03-20 18:58:27 +01:00
gwojda
d947082c05 gwojda gros GROS boulet 2017-03-20 18:38:24 +01:00
gwojda
71f990edbe gwojda gros boulet 2017-03-20 18:28:13 +01:00
gwojda
b9e5321b5b bye bye DG 2017-03-20 18:18:34 +01:00
gwojda
03edcfc777 fin mise a la norme exec (reste un fichier mais il faut que vous y regardiez) 2017-03-20 17:08:39 +01:00
Antoine Riard
b1eaa947a6 better historique, but do_lexer_routine no more 'a la Norme' 2017-03-20 16:45:26 +01:00
Antoine Riard
31bb8797c4 better historique, but do_lexer_routine no more 'a la Norme' 2017-03-20 16:43:42 +01:00
gwojda
d1250c5142 debut mise a la norme exec 2017-03-20 16:29:40 +01:00
gwojda
14ad158646 debut mise a la norme exec 2017-03-20 16:28:45 +01:00
Jack Halford
09a5cbb927 rectif gestion fichier/dossier executé 2017-03-20 16:28:15 +01:00
gwojda
aa042a4e37 debut mise a la norme exec 2017-03-20 16:27:46 +01:00
Jack Halford
943386174f Merge branch 'master' of https://github.com/jzck/42sh 2017-03-20 16:11:00 +01:00
Jack Halford
6a5784a91c ca compile 2017-03-20 16:10:53 +01:00
wescande
a605f53264 merge 2017-03-20 16:07:34 +01:00
wescande
7dee057eef yolo 2017-03-20 16:07:06 +01:00
Jack Halford
cd0a1a77c7 norme libft 2017-03-20 16:04:52 +01:00
Jack Halford
88598b049a merge 2017-03-20 15:35:39 +01:00
Jack Halford
12b19423b3 execution stuff, job control changes, some norm 2017-03-20 15:33:43 +01:00
wescande
692323a2f9 merge 2017-03-20 15:11:32 +01:00
wescande
378aa39ceb rectif bquote 2017-03-20 15:11:04 +01:00
gwojda
46387a1f6e some norme -> completion, hash, builtin, history, lexer, line_edit 2017-03-20 15:02:24 +01:00
wescande
f8753646e2 merge 2017-03-20 14:47:03 +01:00
wescande
229864750f new Makefile compile libft without relink. change on exec for forker. change on all builtin for return status & set exit status 2017-03-20 14:42:49 +01:00
gwojda
3c39c485cb norme builtin 2017-03-20 14:39:20 +01:00
gwojda
5b5a4442e2 norme 2017-03-20 14:18:26 +01:00
gwojda
4ea510774d fix leaks edition de ligne 2017-03-20 12:57:06 +01:00
Jack Halford
28b2a059a5 fix leak redir 2017-03-20 12:27:36 +01:00
Jack Halford
33f6c24b0e job control minor fixes 2017-03-20 11:49:00 +01:00
wescande
d2c65880aa merge 2017-03-20 11:39:23 +01:00
wescande
714b0854be catch fix on master 2017-03-20 11:37:57 +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
Jack Halford
90bfb7773d read usage 2017-03-20 08:09:07 +01:00
Jack Halford
7770426bab ca compile 2017-03-20 08:08:15 +01:00
Jack Halford
d0b13b7bd5 some norm 2017-03-19 22:34:49 +01:00
wescande
4a5f7b61d7 nothing 2017-03-19 19:37:10 +01:00
wescande
ed0a3c791a prompt update leak 2017-03-19 18:33:44 +01:00
wescande
b7d2b120d8 rectif prompt leaks 2017-03-19 18:02:31 +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
gwojda
5b27418ead fix invalid read/leaks completion 2017-03-19 15:35:21 +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
c8c9049661 modif makefile + script 2017-03-19 13:44:44 +01:00
wescande
4852fc99ab rectif pour la norme 2017-03-19 13:37:17 +01:00
gwojda
d4b7872423 fix leaks token + completion qui ecrivait sur 2 2017-03-19 12:14:47 +01:00
william
84fd17231a tabs tricks 2017-03-19 00:25:00 +01:00
william
227b638fad rectif issue sur echo **** 2017-03-19 00:16:10 +01:00
william
37ef19cdfc rectif de variables sous linux 2017-03-18 23:59:12 +01:00
Antoine Riard
137aa1d976 protecting against malloc failure in parser 2017-03-18 19:20:00 +01:00
Antoine Riard
6f58bb20b3 heredoc ok 2017-03-18 19:00:46 +01:00
Antoine Riard
3a58fcd715 no more from pop_stack and ast_free 2017-03-18 17:38:26 +01:00
Antoine Riard
da0d97b23f Merge branch 'master' of https://github.com/jzck/42sh
" brackets good"
2017-03-18 15:53:22 +01:00
Antoine Riard
d47557fdd1 brackets good 2017-03-18 15:53:19 +01:00
gwojda
6c955a4a44 fix leaks 2017-03-18 15:43:59 +01:00
gwojda
40f852345e fix histo avec ! + completion multiligne + rematch 2017-03-18 15:20:38 +01:00
gwojda
cffec70bf1 dsl pr les makefile... 2017-03-18 14:15:47 +01:00
gwojda
01461bd036 fix leaks completion 2017-03-18 14:12:15 +01:00
gwojda
112e72d9ab fix export 2017-03-18 11:48:17 +01:00
M600
fb4a9e192c Fix #119 2017-03-18 09:19:49 +01:00
wescande
2acb7ee167 Merge branch 'master' of github.com:jzck/42sh 2017-03-18 04:16:27 +01:00
wescande
ccaa9bc159 faut arreter de coder les builtin avec le cul 2017-03-18 04:16:17 +01:00
wescande
c81d00343d rectif retour des while et until 2017-03-18 01:58:00 +01:00
Antoine Riard
817db00d7b 42shelltester 2017-03-18 01:30:28 +01:00
wescande
ac6aadc5b6 YOLOOOOOOOOOOOOOOOOOOOO 2017-03-18 00:54:05 +01:00
wescande
95af1481de rectif job display 2017-03-18 00:52:06 +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
8427ab28bf lexer_assignment_word factorizating: it doesnt exist anymore... 2017-03-17 20:23:51 +01:00
Jack Halford
9bda99e139 ca compile deso deso 2017-03-17 19:46:11 +01:00
Jack Halford
f7d0f0408a petite lecon des familles 2017-03-17 19:27:22 +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
5e000ee813 correction syntax + mise a la norme parser 2017-03-17 18:43:31 +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
9f538eabd1 rectif .h 2017-03-17 17:24:21 +01:00