Commit Graph

144 Commits

Author SHA1 Message Date
savalet
f7bc2f38ae Merge pull request #1 from Savapitech/history_T_A
add builtins history
2025-04-16 18:36:38 +02:00
Titouanhct
bf421ce1ee [FIX] changes sugested during the PR 2025-04-16 18:32:56 +02:00
Titouanhct
fc16e65bb9 [FIX] coding style on len_array 2025-04-16 18:13:54 +02:00
savalet
85f34a218e Remove ALL alias in the wrong branch 2025-04-16 17:58:53 +02:00
Titouanhct
84e5669f89 [FIX] double free on some history commands 2025-04-16 17:41:42 +02:00
Arthur-gtr
a181f34a72 Merge remote-tracking branch 'refs/remotes/origin/history_T_A' into history_T_A 2025-04-16 15:17:33 +02:00
Titouanhct
87373b6de4 [FIX} history problem begininning by 0 instead of 1 2025-04-16 15:13:32 +02:00
Arthur-gtr
2a69b955a2 Merge branch 'history_T_A' of github.com:Savapitech/42sh into history_T_A 2025-04-16 15:08:42 +02:00
Arthur-gtr
fa76f0d715 [ADD] Alias builtin 2025-04-16 14:58:28 +02:00
Titouanhct
ef10912afa Merge branch 'history_T_A' of github.com:Savapitech/42sh into history_T_A 2025-04-16 14:52:49 +02:00
Titouanhct
0d825c9cdb [ADD] fix some issues when using it not solo for the history 2025-04-16 14:51:51 +02:00
Arthur-gtr
c620d6f8ce [ADD] first step for alias builtin add pointer function and struct 2025-04-16 02:14:32 +02:00
Titouanhct
aa2a18ba03 [FIX] coding style 2025-04-15 19:21:53 +02:00
Titouanhct
23c43697e5 [ADD] history builtins to display the history 2025-04-15 19:18:19 +02:00
Arthur-gtr
bb0463622e [FIX] error with one 2025-04-15 19:14:42 +02:00
Titouanhct
4f26a02c8a [FIX] fanalyser problems plus the rest of the basic history such as double exclamation marks 2025-04-15 17:55:47 +02:00
Titouanhct
f4bce9b54b [ADD] first version of the history with a fanalyser problem 2025-04-15 14:51:52 +02:00
Arthur-gtr
ac4928cf74 [FIX] init struct with fix size 2025-04-14 10:05:24 +02:00
Arthur-gtr
479d4880a7 [FIX] double free 2025-04-13 16:50:25 +02:00
Arthur-gtr
e2ddc952d1 [UP] add free for the cmd line 2025-04-12 22:12:41 +02:00
Arthur-gtr
8b03e73a1d [FIX] coding style 2025-04-12 21:23:18 +02:00
Arthur-gtr
09bdc0b616 [MOOVE] moove some function to the utils folder and add utils.h 2025-04-12 19:06:22 +02:00
savalet
87d1bd33db Remove banned func check in CI 2025-04-11 19:34:05 +02:00
Arthur-gtr
c54c6447a9 [ADD] parsing for history command 2025-04-11 09:43:47 +02:00
Arthur-gtr
c9e5ee1bf2 [ADD] handler a structure that contains builtins structures and shortcut some function 2025-04-11 00:46:07 +02:00
Arthur-gtr
66c213800f [FIX] coding style 2025-04-10 14:19:28 +02:00
Arthur-gtr
e486212e34 [FIX] parsing history 2025-04-10 14:09:55 +02:00
Arthur-gtr
c42e06dc99 [ADD] history parsing command 2025-04-09 11:59:06 +02:00
savalet
89d77012e3 Change bin name
Chane bin name gitignore
2025-04-04 21:29:56 +02:00
savalet
afdfd3b634 Del bonus 2025-04-03 19:41:46 +02:00
savalet
80a03144b5 Improve the Makefile 2025-04-03 18:35:51 +02:00
savalet
18e46174ca Add exit code var 2025-03-28 16:57:19 +01:00
savalet
355b5c5455 Bonus add var handling 2025-03-28 16:51:11 +01:00
savalet
32310a679e Bonus add quote support 2025-03-28 13:47:05 +01:00
savalet
c6b3ab1899 Remove exit msg 2025-03-28 12:50:52 +01:00
savalet
d6f17b00ee Remote exit msg 2025-03-28 12:41:00 +01:00
savalet
d5c8027aa4 Fix alloc ast 2025-03-26 23:13:27 +01:00
savalet
98f7dad867 Fix act node check 2025-03-26 23:12:39 +01:00
savalet
7fa9889720 Fix path leak 2025-03-26 22:26:30 +01:00
savalet
80c3482454 Add bonus files 2025-03-26 21:39:28 +01:00
savalet
9b5c06e927 Add heredoc 2025-03-26 19:59:37 +01:00
savalet
29208143ae Fix afl crash when line finish with \0 2025-03-26 00:12:29 +01:00
savalet
d1ca3d4f31 Add sigint ignore 2025-03-25 23:53:09 +01:00
savalet
1752235de6 Fix wait when semi 2025-03-25 23:39:48 +01:00
savalet
e719f9c570 Fix empty semicolons 2025-03-25 23:01:51 +01:00
savalet
7b68ae39c2 Fix last pipe check in exit and cd 2025-03-25 19:49:47 +01:00
savalet
7aca9a254c Fix builtins exec after other cmd 2025-03-25 19:40:51 +01:00
savalet
8840c25ff3 Fix cd ignore when pipe 2025-03-24 15:28:46 +01:00
savalet
a4adb2d79c Fix waitpid 2025-03-24 15:02:18 +01:00
savalet
66a84f68d5 Fix builtins launcher 2025-03-24 14:21:32 +01:00