Jack Halford
|
f482f78254
|
data_init and get_fd refactoring
|
2017-03-20 09:56:58 +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
|
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 |
|
william
|
37ef19cdfc
|
rectif de variables sous linux
|
2017-03-18 23:59:12 +01:00 |
|
gwojda
|
6c955a4a44
|
fix leaks
|
2017-03-18 15:43:59 +01:00 |
|
gwojda
|
112e72d9ab
|
fix export
|
2017-03-18 11:48:17 +01:00 |
|
wescande
|
ccaa9bc159
|
faut arreter de coder les builtin avec le cul
|
2017-03-18 04:16:17 +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
|
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
|
8427ab28bf
|
lexer_assignment_word factorizating: it doesnt exist anymore...
|
2017-03-17 20:23:51 +01:00 |
|
Antoine Riard
|
1ad56ece41
|
master steady, merged end
|
2017-03-17 00:22:47 +01:00 |
|
Antoine Riard
|
d4ef4b319a
|
master steady with new main
|
2017-03-17 00:05:10 +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
|
f3673b1006
|
merge
|
2017-03-16 16:40:58 +01:00 |
|
Jack Halford
|
8ea584a42c
|
redirection printing on job control
|
2017-03-16 16:39:33 +01:00 |
|
Antoine Riard
|
38f52d2dc1
|
modifs math
|
2017-03-16 16:37:36 +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
|
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 |
|
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
|
c2b7a9e027
|
#107
|
2017-03-15 10:53:20 +01:00 |
|
gwojda
|
26583e9027
|
fix setenv #105'
|
2017-03-15 10:48:08 +01:00 |
|
Antoine Riard
|
80cfacb577
|
commit propre
|
2017-03-15 02:14:15 +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
|
0d4f441670
|
rip leaks
|
2017-03-14 16:37:40 +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
|
271748861e
|
brace groups and subshell launching re-design
|
2017-03-13 23:58:17 +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
|
5c2bb40bf6
|
assignement word as word if in second position
|
2017-03-13 17:52:36 +01:00 |
|
Jack Halford
|
6b78971807
|
heredoc changes
|
2017-03-13 16:11: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 |
|
william
|
d33f82d5fe
|
trick pour le vrai printf qui gère pas le %b
|
2017-03-10 15:01:12 +01:00 |
|
Jack Halford
|
a9799debda
|
issue #72, tried to reset file descriptors but still not working
|
2017-03-09 15:24:00 +01:00 |
|
Jack Halford
|
6660c5ed2c
|
issue #73
|
2017-03-09 14:35:49 +01:00 |
|
gwojda
|
01d8cbca7e
|
correction bug sur control R + d'autres ptits trucs
|
2017-03-09 12:16:23 +01:00 |
|
Antoine Riard
|
4d13a2e6e6
|
end merge
|
2017-03-08 23:44:03 +01:00 |
|
Jack Halford
|
e711ffc927
|
issue #50 done
|
2017-03-08 13:07:46 +01:00 |
|
Antoine Riard
|
69732b44fe
|
conflcit resolved
|
2017-03-07 19:43:59 +01:00 |
|
Antoine Riard
|
02286b88bf
|
moar grammmar
|
2017-03-07 19:41:25 +01:00 |
|
Jack Halford
|
764c62cc45
|
changed header layout
|
2017-03-07 18:37:13 +01:00 |
|
wescande
|
7195207116
|
merging
|
2017-03-07 15:35:36 +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 |
|
wescande
|
b2af159f64
|
pour merge
|
2017-03-07 15:12:20 +01:00 |
|
Jack Halford
|
eb9a697ef4
|
merged bt_jobs
|
2017-03-07 15:10:13 +01:00 |
|
Jack Halford
|
a5f186eb59
|
new process logic
|
2017-03-07 15:05:04 +01:00 |
|
Antoine Riard
|
d30519ced2
|
with math
|
2017-03-07 14:40:44 +01:00 |
|
Antoine Riard
|
14be331b4e
|
expr math doing
|
2017-03-07 12:22:05 +01:00 |
|
gwojda
|
1c41155c50
|
on a retrouvé le builtin history
|
2017-03-07 11:24:20 +01:00 |
|
william
|
eb6e104812
|
compilation sous linux possible, mise en commentaire des variables set but not used
|
2017-03-05 15:44:12 +01:00 |
|
wescande
|
ed0c3803b0
|
rectif builtin cd : ajout du -- pour stopper les args, ajout des messages d'erreurs pour trops d'arguments ou home not set
|
2017-03-03 20:13:55 +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
|
8084ffb6a1
|
pipes done
|
2017-02-21 22:42:13 +01:00 |
|
ariard@student.42.fr
|
62a8832823
|
before pull
|
2017-02-21 14:36:32 +01:00 |
|
ariard@student.42.fr
|
8d23821d69
|
after mege
|
2017-02-20 21:05:12 +01:00 |
|
gwojda
|
480c9810c9
|
ajout builtin hash + ajout rehash si access ne fonctionne pas sur path donné dans la table
|
2017-02-18 16:52:55 +01:00 |
|
gwojda
|
ea073dceaf
|
correction segv edition de ligne + ajout table de hash
|
2017-02-18 14:42:43 +01:00 |
|
gwojda
|
e10d64c05b
|
correction leak env
|
2017-02-17 15:57:55 +01:00 |
|
gwojda
|
d136e2be04
|
correction leak cd + 2-3 autres ptits trucs
|
2017-02-17 13:58:27 +01:00 |
|
gwojda
|
0f61c048ae
|
fixe leak sur env
|
2017-02-17 10:32:25 +01:00 |
|
gwojda
|
3dfc6abb61
|
correction de quelques bugs sur le prompt - correction de segv sur env - correction de leaks
|
2017-02-16 12:46:42 +01:00 |
|
gwojda
|
b67c7fd7d3
|
ajout d'env avec opt -i -u / export / unset
|
2017-02-15 15:46:43 +01:00 |
|
gwojda
|
71f13249b8
|
recollage de l'historique + control R + point d'exclamation. quelques fixes pour le prompt
|
2017-02-14 15:45:17 +01:00 |
|
Jack Halford
|
be6be17f2a
|
bquotes expansion refactoring for future norm checks; still need to preventh field splitting for dquoted bquotes; also need to fuse bquote expansion into the globbing module
|
2017-02-14 00:42:41 +01:00 |
|
Jack Halford
|
1649b6a294
|
read works with escape sequences
|
2017-02-06 14:05:44 +01:00 |
|
Jack Halford
|
2f647b820f
|
no more skipping delims before lexing, removed superfluous headers from lib, readded do_job_notifications before prompt
|
2017-02-03 16:15:55 +01:00 |
|
ariard@student.42.fr
|
fcea6dda9b
|
scripting stable before new lexing and parsing(merged with master)
|
2017-02-03 15:41:14 +01:00 |
|
ariard@student.42.fr
|
e708ce1e16
|
merge resolved
|
2017-02-03 14:44:35 +01:00 |
|
Jack Halford
|
b08b727779
|
orphan backquotes and orpan parens generate parse errors
|
2017-02-02 15:28:18 +01:00 |
|
ariard@student.42.fr
|
42bd66af42
|
generation liste chainee d'ast de multi commande ok, to-do : ast de while
|
2017-01-28 23:39:59 +01:00 |
|
Jack Halford
|
279509a651
|
merged and fixed conflicts
|
2017-01-28 19:25:25 +01:00 |
|
Jack Halford
|
076d3c3d5b
|
remise a la norme avant de merge
|
2017-01-28 14:44:00 +01:00 |
|
Jack Halford
|
f236e8e734
|
refactoring for clarity of bt_read* family
|
2017-01-27 20:08:56 +01:00 |
|
Jack Halford
|
cc2fadf41c
|
variables assigning passes initial testing, needs more testing
|
2017-01-27 19:40:36 +01:00 |
|
Gautier WOJDA
|
d6c6103bc4
|
avant de merge
|
2017-01-27 17:42:46 +01:00 |
|
Jack Halford
|
e66999c24f
|
-t works fine, gonna do the IFS split next
|
2017-01-27 17:11:11 +01:00 |
|
Jack Halford
|
7d57b47f5e
|
end of day, still doesnt work properly
|
2017-01-26 20:32:39 +01:00 |
|
Jack Halford
|
9d2e01de25
|
some progress on c_cc[VTIME] understading, almost there
|
2017-01-26 18:41:07 +01:00 |
|
Jack Halford
|
d3fd7bbded
|
termios stuff added
|
2017-01-25 18:13:15 +01:00 |
|
Jack Halford
|
8e3f84cef1
|
finished parsing options, read loop done. few options are missing still, also have a break problem : read doesnt stop reading even when i dopnt want anymore input...
|
2017-01-22 18:23:21 +01:00 |
|
ariard@student.42.fr
|
133f4bf052
|
read script init
|
2017-01-22 00:38:27 +01:00 |
|
Jack Halford
|
ee7ddc5e14
|
builtin_read first commit
|
2017-01-20 19:34:18 +01:00 |
|
Jack Halford
|
ef400aa225
|
first effort towards subshells and backquotes, lexer done, execution done for subshells
|
2017-01-11 18:06:26 +01:00 |
|