Commit graph

188 commits

Author SHA1 Message Date
Jack Halford
da66e7bd79 Merge branch 'redirection-fix' 2017-02-03 14:42:41 +01:00
m600x
9f15e9b4c7 Content of data->line.input and data->line.pos updated 2017-02-03 14:15:46 +01:00
Jack Halford
62be4bc470 new architecture for redirection inside of fork(), chained redirects dont work properly yet 2017-02-03 14:11:34 +01:00
Jack Halford
985745f881 starting to fixi redirections 2017-02-03 13:21:06 +01:00
m600x
f43f11cd14 Rebase init 2017-02-03 12:36:25 +01:00
gwojda
7fb9aa2da5 changement du squelette (passage a un tableau de pointeur sur fonction) - pas encore tout resté 2017-02-02 19:07:32 +01:00
Jack Halford
7265a6c340 cleaner main, added ft_lexer to encapsulate all phases of tokenization 2017-02-02 15:45:55 +01:00
gwojda
f03692e762 correction de bugs sur les termcaps - normalement tu peux spammer wesande ! :p 2017-02-02 11:47:58 +01:00
Gautier WOJDA
b576eddd03 correction de leaks 2017-02-02 11:13:02 +01:00
Jack Halford
62cdc4ca84 back to looking like the GNU tutorial 2017-02-01 17:30:45 +01:00
wescande
43f1295324 finition sur le globbing (expansion des accolades, gestion des characteres echappe) => normalement aucun bug + mise a la norme 2017-01-31 23:25:41 +01:00
wescande
3c8c143143 merge de extend_glob. Ajout de la barre de progression dans le makefile 2017-01-31 19:52:04 +01:00
wescande
ad7d814c74 extension du globbing implemente SUPER MAKEFILE QUI DECHIRE TA M*RE 2017-01-31 19:36:29 +01:00
wescande
3c46e10736 integration du retour de glob dans les tokens 2017-01-30 17:19:09 +01:00
wescande
95e1f03401 upgrade Makefile with all .c 2017-01-30 16:43:41 +01:00
wescande
4f5c65b9a2 finalisation du lexer avec les char echappé -> 1 unsigned char pour 8 char du token (1 bit pour 1 char). Module glob en place en tenant compte des echappé. fonction is_char_esc en place pour une utilisation plus globale 2017-01-28 01:19:03 +01:00
Jack Halford
26625dd1b1 commit pour cleanup la merde de wescande sur git........ 2017-01-26 19:39:39 +01:00
wescande
a0feff2e2a clean after rebase 2017-01-26 19:37:19 +01:00
wescande
d857f74a86 some minor tricks 2017-01-26 19:24:00 +01:00
wescande
c556b0eea5 ajout de la recherche recursive sur le globbing et du chemin absolu. (/*/*/*) toujours pas de gestion du double star (**) 2017-01-26 19:24:00 +01:00
wescande
6102eda2df ajout de l'expand des brace, reste a travailler sur le tri du tableau de retour pour l'avoir par ordre ascii 2017-01-26 19:24:00 +01:00
wescande
977238f69e premier commit. working. . . 2017-01-26 19:24:00 +01:00
Jack Halford
e4e32db599 merge done 2017-01-10 13:23:21 +01:00
Jack Halford
21276905b7 petit commit avant de merge job_control: unification de data_singleton (Samuel n'utilisais pas le meme) et quelques petites retouches. beau boulet sur le readline @sbenning 2017-01-10 11:58:03 +01:00
Samuel BENNING
ed3d6f6268 sbenning: Undo Makefile change 2016-12-14 13:18:49 +01:00
Jack Halford
4cfeb62747 job_control first commit: 2016-12-10 17:47:36 +01:00
m4s
e578f0ef08 sbenning: move OLD folder and fix some intgration bugs (qstate_update/Makefile) 2016-12-10 12:39:56 +01:00
Jack Halford
4feaa64e08 exitstatus function, so i can set ? variable in one line with not memory handling. No more leaks, sexy debug macro DG(), valgrind suppression, gitignore 2016-12-10 00:20:59 +01:00
Jack Halford
569812ddcb pipeline working, added stack of old qstates to make the FSM adiabatic 2016-11-28 19:30:31 +01:00
Jack Halford
b59f05eb77 test.c to understant pipe() 2016-11-27 23:52:36 +01:00
Jack Halford
bce0f37b8e major stuff today: wrote a proper lexer based on finite state machines, quoting OK. next is finishing the parser, and history of line editing module 2016-11-18 23:16:32 +01:00
Jack Halford
74f9916047 input is now char* not dlist, started to write FSM for quoting git add --all 2016-11-18 00:00:32 +01:00
Jack Halford
5f329666d3 more parsing and some exec 2016-11-14 18:50:18 +01:00
Jack Halford
92f2557e7e libft btree 2016-11-13 23:59:34 +01:00
Jack Halford
43529fc845 tokenization finished. interactive shell improvements for signal handlind (ISIG option turned off). next step is parsing, thinking of AST structure 2016-11-12 23:51:34 +01:00
Jack Halford
76535c73c1 work of 10/11/16, started tokenization 2016-11-10 17:05:15 +01:00
Jack Halford
6359eac19f interactive shell with termcaps 2016-10-28 21:24:29 +02:00
Jack Halford
cc3f6e37d3 first commit 2016-09-27 05:14:51 +02:00