Commit graph

1116 commits

Author SHA1 Message Date
Antoine Riard
6a5d2aa13e exit error + nomre last 2017-03-24 23:35:59 +01:00
Jack Halford
66ec5363ca merge 2017-03-24 23:13:07 +01:00
Jack Halford
62a314d659 ca compile 2017-03-24 23:12:39 +01:00
wescande
422c685417 merge 2017-03-24 23:08:25 +01:00
wescande
20cd770d94 some rectif 2017-03-24 23:06:39 +01:00
Jack Halford
79ac0a8edc unsetenv OK 2017-03-24 23:05:52 +01:00
Jack Halford
3c4b194553 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-24 20:11:44 +01:00
Jack Halford
1aebf7531a redirection while works 2017-03-24 20:11:24 +01:00
Antoine Riard
916194163b close #189 close #190 2017-03-24 19:44:39 +01:00
Antoine Riard
5d07da9fb3 close #189 close #190 2017-03-24 19:44:04 +01:00
Jack Halford
bb4ffa50e5 merge 2017-03-24 19:23:39 +01:00
Jack Halford
eeae2232a5 issue #177 2017-03-24 19:21:51 +01:00
Antoine Riard
9f1fe08fe3 oubli while_clause and tk_paren_open close #188 2017-03-24 19:18:39 +01:00
Antoine Riard
890fdd1511 oubli while_clause and tk_paren_open close #188 2017-03-24 19:17:40 +01:00
wescande
b75842616b Merge branch 'master' of github.com:jzck/42sh 2017-03-24 18:47:09 +01:00
wescande
c4852a0303 rectif multi_expand_var 2017-03-24 18:47:03 +01:00
Jack Halford
6c29b493e1 ca compile 2017-03-24 18:25:52 +01:00
Jack Halford
23aa15f1f6 merge 2017-03-24 18:25:20 +01:00
Jack Halford
deb53a6b96 new env 2017-03-24 18:24:23 +01:00
william
66447bcd9a Merge branch 'master' of github.com:jzck/42sh 2017-03-24 17:55:42 +01:00
william
9b6487f994 rectif leaks on noninteractif 2017-03-24 17:55:31 +01:00
gwojda
6178f84af4 javais tue un kill a ne pas tuer 2017-03-24 17:27:09 +01:00
gwojda
18f847e446 Your fight is over 2017-03-24 17:25:53 +01:00
william
d45231c7cd compil sous linux 2017-03-24 17:16:46 +01:00
wescande
e213721aec Merge branch 'master' of github.com:jzck/42sh 2017-03-24 17:13:18 +01:00
wescande
1c213a5f11 norme on data_init 2017-03-24 17:13:11 +01:00
gwojda
aa08eba1c3 #185 2017-03-24 17:12:20 +01:00
gwojda
e5f26c3582 #185 2017-03-24 17:12:04 +01:00
Antoine Riard
a91816741f close #173 2017-03-24 17:11:25 +01:00
gwojda
b9d526b77b #185 2017-03-24 17:11:16 +01:00
Antoine Riard
6ae49e3637 close #173 2017-03-24 17:10:14 +01:00
wescande
bf093784d3 norme on shell_init 2017-03-24 17:05:49 +01:00
wescande
9c60efc70c norm on lexer_bquote 2017-03-24 17:03:00 +01:00
wescande
8c5cf94616 merge 2017-03-24 17:02:05 +01:00
wescande
c2f9ecbcab norme on BT_func 2017-03-24 17:01:14 +01:00
gwojda
57d206d7c7 norme 2017-03-24 16:59:36 +01:00
gwojda
05e4ce4c02 fix echappement des bslash dans dquote 2017-03-24 16:12:03 +01:00
wescande
7644c06f4f merge 2017-03-24 15:55:14 +01:00
wescande
26bddc8a58 ajout free des func + ajout builtin func 2017-03-24 15:54:09 +01:00
gwojda
9d74ebf497 rip leaks 2017-03-24 15:42:44 +01:00
gwojda
9486317502 rip leaks 2017-03-24 15:42:25 +01:00
Jack Halford
1ba52fff84 close #172 2017-03-24 15:41:30 +01:00
Jack Halford
01daa9995e merge 2017-03-24 15:31:00 +01:00
Jack Halford
0bf28707da , 2017-03-24 15:30:22 +01:00
Antoine Riard
d763c7304f error for + case fix close #174 2017-03-24 15:19:01 +01:00
Antoine Riard
b95476a0be error for + case fix close #174 2017-03-24 15:18:17 +01:00
Jack Halford
3e35c03f7c merge 2017-03-24 15:13:44 +01:00
Jack Halford
72bb124bce close #179 2017-03-24 15:13:01 +01:00
wescande
af2fd99dd0 rectif retour des process non fork 2017-03-24 14:59:46 +01:00
wescande
cbb5059182 Merge branch 'master' of github.com:jzck/42sh 2017-03-24 14:49:53 +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
Jack Halford
016d634515 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-24 14:31:58 +01:00
Jack Halford
a4f2220f1c close #184 2017-03-24 14:31:51 +01:00
gwojda
70bd2a1f19 control d 2017-03-24 14:07:40 +01:00
wescande
f0d98b1b2e Merge branch 'master' of github.com:jzck/42sh 2017-03-24 12:42:21 +01:00
wescande
40547b1e65 rectif job_control pour :
plus d'affichage en double lorsque qu'on fait jobs
initialisation de toutes les variables
suppression des leaks quand on exit
2017-03-24 12:42:14 +01:00
gwojda
0e975eb27f fix decalage deplacement de mots en mots + opt x refonctionne 2017-03-24 12:12:38 +01:00
gwojda
b8e3fddce3 fix invalid read completion 2017-03-23 19:09:12 +01:00
Jack Halford
13ecf634e7 unset VAR leak fixed 2017-03-23 18:31:26 +01:00
Jack Halford
784d201914 ft_malloc can use print for error msg 2017-03-23 18:26:28 +01:00
Jack Halford
d8c0807f12 sstrdel leak 2017-03-23 18:07:39 +01:00
Antoine Riard
2f0fc3b511 math fix + historique done fi 2017-03-23 17:26:56 +01:00
Antoine Riard
ffd7f81a71 c est la faute a jack close #149 2017-03-23 16:59:17 +01:00
Antoine Riard
37cf3fa86c c est la faute a jack close #149 2017-03-23 16:58:22 +01:00
gwojda
93427d8a60 norme 2017-03-23 16:52:59 +01:00
gwojda
9cd96b13f0 fix retour copy/cut 2017-03-23 16:52:45 +01:00
william
a4ec2bd9bc merge 2017-03-23 16:42:43 +01:00
william
d2d63089e2 rectif printf 2017-03-23 16:41:53 +01:00
gwojda
1f881129ab setlocal not allowed 2017-03-23 16:40:19 +01:00
gwojda
6b6376fe70 setlocal not allowed 2017-03-23 16:39:51 +01:00
Antoine Riard
d45f92afc5 Merge branch 'master' of https://github.com/jzck/42sh
"close #160 close #165"
2017-03-23 16:30:52 +01:00
Antoine Riard
e8b9befea2 exec func + correction syntax if 2017-03-23 16:30:37 +01:00
gwojda
061daad09c norme 2017-03-23 16:29:48 +01:00
gwojda
809791f46e fix pb sur le tri completion 2017-03-23 15:43:54 +01:00
gwojda
6935bc80db completion triée #168 2017-03-23 15:36:59 +01:00
Jack Halford
8b5c742002 bquotes inside dquotes lexing 2017-03-23 15:19:41 +01:00
Jack Halford
7b690e7e4c issue #162 2017-03-23 13:30:23 +01:00
gwojda
2fab4b2763 ajout haut et bas pour le surlignement 2017-03-23 11:46:33 +01:00
gwojda
dcda700d7d fix leaks add in history file 2017-03-23 11:31:23 +01:00
gwojda
1c52e5931f #137 fin changement du copier coller interne 2017-03-23 11:10:12 +01:00
gwojda
137c54bec1 prompt leaks #167 2017-03-23 10:52:43 +01:00
wescande
ca1e932c3d ta grand mere suce des kinder bueno en enfer 2017-03-23 06:36:25 +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
wescande
af0f345afc rectif leaks sur les for 2017-03-23 06:07:59 +01:00
wescande
c4190fe0ac possible d'assigner des variables avec des bquote genre 'echo a b c ' 2017-03-23 03:43:06 +01:00
wescande
54f0610bd1 merge 2017-03-23 03:26:25 +01:00
wescande
fb35d3ea53 rectif issue sur glob /*/*/* + rectif sur le matching avec plusieurs bquote dans le meme word + rectif expansion sur les char esc 2017-03-23 03:25:13 +01:00
Antoine Riard
5e5e0769ba #issue160 : chapeau wescande 2017-03-23 03:17:31 +01:00
Antoine Riard
a281d4e514 confclit ok 2017-03-23 00:32:41 +01:00
Antoine Riard
90fc4083dc divers changements 2017-03-23 00:27:53 +01:00
gwojda
605086a380 merge 2017-03-23 00:06:59 +01:00
gwojda
c53ea70cbd #157 2017-03-23 00:06:38 +01:00
Jack Halford
8bd468ffed norme 2017-03-23 00:04:00 +01:00
Jack Halford
fe0ea7930f Merge branch 'master' of https://github.com/jzck/42sh 2017-03-22 23:59:22 +01:00
Jack Halford
9df40e8152 double quote lexing with inner bquotes 2017-03-22 23:59:17 +01:00
gwojda
ebb85a3d0d merge 2017-03-22 23:46:09 +01:00
gwojda
0e73e9f1d8 gros debug c/c/p + ajout home & end 2017-03-22 23:45:51 +01:00
Jack Halford
20b9b8f3a6 variable assignement protection 2017-03-22 23:23:58 +01:00
wescande
cd5fefa671 Merge branch 'master' of github.com:jzck/42sh 2017-03-22 22:27:05 +01:00
wescande
f836bf2c53 c'est la faute a jack 2017-03-22 22:26:08 +01:00
Antoine Riard
55f4007730 Merge branch 'master' of https://github.com/jzck/42sh
"no leaks on case"
2017-03-22 22:07:13 +01:00
Antoine Riard
f2dc61cea0 no leaks on case 2017-03-22 22:07:07 +01:00
wescande
e4939b9902 Merge branch 'master' of github.com:jzck/42sh 2017-03-22 22:02:16 +01:00
wescande
b4852dd53a rectif msg command not found + segv on no right directory 2017-03-22 22:02:11 +01:00
Antoine Riard
1cd40a7d44 no leaks var 2017-03-22 21:49:22 +01:00
gwojda
59d37acc61 fix bugs multiligne c/c/p 2017-03-22 21:29:11 +01:00
gwojda
a40577fce9 sorry 2017-03-22 21:04:13 +01:00
gwojda
974a896083 merge 2017-03-22 21:00:00 +01:00
gwojda
5df512d16a normé 2017-03-22 20:58:44 +01:00
gwojda
639caead01 pas normé 2017-03-22 20:53:28 +01:00
M600
89cfc441ad Remove DG 2017-03-22 20:25:51 +01:00
M600
428a41f457 Completion: Fix #156, tilde leqd to wrong folder 2017-03-22 20:24:45 +01:00
Jack Halford
ccb82193a8 merge 2017-03-22 19:37:30 +01:00
Jack Halford
b8e6fc6f95 some norme 2017-03-22 19:36:22 +01:00
Antoine Riard
16e23e8a63 close #150 2017-03-22 19:35:02 +01:00
Antoine Riard
0f299d4b7e Merge branch 'master' of https://github.com/jzck/42sh
"close brackets"
2017-03-22 18:26:05 +01:00
M600
23d61dae4e Merge 2017-03-22 18:25:52 +01:00
M600
2d42874c48 Completion: Output spaced name with escape char 2017-03-22 18:24:21 +01:00
Antoine Riard
3dd57d8a8e Merge branch 'master' of https://github.com/jzck/42sh
"brackets resolution"
2017-03-22 18:22:22 +01:00
Antoine Riard
dc0fc094f4 brackets resolution 2017-03-22 18:22:17 +01:00
Jack Halford
5547d38afa curly brackets lexing 2017-03-22 18:14:26 +01:00
Jack Halford
07934128f1 merge 2017-03-22 17:37:36 +01:00
Jack Halford
7485dc7153 ariard's fix #154 and #155 2017-03-22 17:36:43 +01:00
Antoine Riard
be76e38a56 builtin, lexer et parser .h a la nomre 2017-03-22 17:30:34 +01:00
Antoine Riard
e83a22b16b builtin, lexer et parser .h a la nomre 2017-03-22 17:28:32 +01:00
Jack Halford
01ebed7cf6 forgot to remove exit 2017-03-22 17:25:37 +01:00
Jack Halford
9a8c3ebe64 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-22 17:17:14 +01:00
Jack Halford
e126dc0fc1 issue #144 2017-03-22 17:17:08 +01:00
gwojda
89b0509723 merge 2017-03-22 16:53:37 +01:00
gwojda
86dcdb0a23 some norme 2017-03-22 16:53:22 +01:00
Jack Halford
ee82674e93 Merge branch 'master' of https://github.com/jzck/42sh 2017-03-22 16:50:46 +01:00
Jack Halford
aa7dc0bbc8 builtin_read pipes 2017-03-22 16:50:40 +01:00
Antoine Riard
b4fc0b6bff Merge branch 'master' of https://github.com/jzck/42sh
"resolution multi variable"
2017-03-22 16:11:55 +01:00
Antoine Riard
c014815d73 close #148 2017-03-22 16:11:48 +01:00
gwojda
9f04442408 merge 2017-03-22 16:02:56 +01:00
gwojda
cd9657faea fin fix completion 2017-03-22 16:02:37 +01:00
Antoine Riard
78f764f151 Merge branch 'master' of https://github.com/jzck/42sh
"resolution des for"
2017-03-22 15:54:16 +01:00
Antoine Riard
fbe5987502 close #147 2017-03-22 15:54:09 +01:00
gwojda
c237b5119e sans le debug et avec un free c'est mieux 2017-03-22 15:49:31 +01:00
gwojda
2f209fad5b merge 2017-03-22 15:47:09 +01:00
gwojda
dea3e1c7a8 fix bugs completion... 2017-03-22 15:46:42 +01:00
Antoine Riard
f9b39b5142 close #139 2017-03-22 15:36:22 +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
338913ade0 ctrlD ok 2017-03-20 20:53:23 +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