]> git.dkaiser.de - 42/minishell.git/log
42/minishell.git
10 months agoMerge memory leak fixes main
Dominik Kaiser [Sat, 25 Jan 2025 14:58:12 +0000 (15:58 +0100)]
Merge memory leak fixes

10 months agoMerge branch 'main' into memleakfix
Dominik Kaiser [Sat, 25 Jan 2025 14:57:16 +0000 (15:57 +0100)]
Merge branch 'main' into memleakfix

10 months agoMake norminette happy
Dominik Kaiser [Sat, 25 Jan 2025 14:42:11 +0000 (15:42 +0100)]
Make norminette happy

10 months agoFix last leak
Dominik Kaiser [Sat, 25 Jan 2025 13:42:46 +0000 (14:42 +0100)]
Fix last leak

10 months agofixed leaks in tokenizer and collectargs also fixed seg for < > and improved value...
Christopher Uhlig [Sat, 25 Jan 2025 12:01:10 +0000 (13:01 +0100)]
fixed leaks in tokenizer and collectargs also fixed seg for < > and improved value add by $ use

10 months agoa
Christopher Uhlig [Thu, 23 Jan 2025 17:41:18 +0000 (18:41 +0100)]
a

10 months agoFix leak
Dominik Kaiser [Thu, 23 Jan 2025 11:48:05 +0000 (12:48 +0100)]
Fix leak

TODO: Fix segfault

10 months agoTest test test
Dominik Kaiser [Wed, 22 Jan 2025 16:34:07 +0000 (17:34 +0100)]
Test test test

10 months ago Add free to get_cmd_path
Dominik Kaiser [Wed, 22 Jan 2025 16:04:26 +0000 (17:04 +0100)]
 Add free to get_cmd_path

10 months agouiuiuiui
Christopher Uhlig [Wed, 22 Jan 2025 15:50:05 +0000 (16:50 +0100)]
uiuiuiui

10 months agokinda fix for pipe error and again.vs for you db just chnage workfolder gn
Christopher Uhlig [Wed, 22 Jan 2025 01:40:27 +0000 (02:40 +0100)]
kinda fix for pipe error and again.vs for you db just chnage workfolder gn

10 months agoMerge interpreter changes into main
Dominik Kaiser [Mon, 20 Jan 2025 19:14:32 +0000 (20:14 +0100)]
Merge interpreter changes into main

Miau

10 months agoyippienorm and change open error and change of wife
Christopher Uhlig [Mon, 20 Jan 2025 19:10:11 +0000 (20:10 +0100)]
yippienorm and change open error and change of wife

10 months agofixed norm tester 133 remove .vs
Christopher Uhlig [Mon, 20 Jan 2025 18:32:10 +0000 (19:32 +0100)]
fixed norm tester 133 remove .vs

10 months agoMerge branch 'main' into miau
Dominik Kaiser [Mon, 20 Jan 2025 18:04:57 +0000 (19:04 +0100)]
Merge branch 'main' into miau

10 months agoMerge pull request #31 from dpu-kaiser/some-fixes
Dominik Kaiser [Mon, 20 Jan 2025 17:49:32 +0000 (18:49 +0100)]
Merge pull request #31 from dpu-kaiser/some-fixes

Some fixes

10 months agoMerge branch 'miau' into some-fixes
Dominik Kaiser [Mon, 20 Jan 2025 17:49:21 +0000 (18:49 +0100)]
Merge branch 'miau' into some-fixes

10 months agoMerge pull request #30 from dpu-kaiser/merge_format_redir
Dominik Kaiser [Mon, 20 Jan 2025 17:46:39 +0000 (18:46 +0100)]
Merge pull request #30 from dpu-kaiser/merge_format_redir

Merge format redir

10 months agoMerge branch 'miau' into merge_format_redir
Dominik Kaiser [Mon, 20 Jan 2025 17:45:26 +0000 (18:45 +0100)]
Merge branch 'miau' into merge_format_redir

10 months agoI love the norme sooooooooooo much!!!!
Dominik Kaiser [Mon, 20 Jan 2025 17:41:55 +0000 (18:41 +0100)]
I love the norme sooooooooooo much!!!!

10 months agofixed a bunch of stuff
Christopher Uhlig [Mon, 20 Jan 2025 16:34:02 +0000 (17:34 +0100)]
fixed a bunch of stuff

10 months agoFix some more bugs
Dominik Kaiser [Mon, 20 Jan 2025 16:32:06 +0000 (17:32 +0100)]
Fix some more bugs

10 months agoFix some errors
Dominik Kaiser [Mon, 20 Jan 2025 16:13:37 +0000 (17:13 +0100)]
Fix some errors

10 months agoMerge changes
Dominik Kaiser [Mon, 20 Jan 2025 12:19:08 +0000 (13:19 +0100)]
Merge changes

10 months agoFix some bugs
Dominik Kaiser [Mon, 20 Jan 2025 12:07:11 +0000 (13:07 +0100)]
Fix some bugs

10 months agomerged
Christopher Uhlig [Mon, 20 Jan 2025 12:06:34 +0000 (13:06 +0100)]
merged

10 months agoCreate files
Dominik Kaiser [Thu, 16 Jan 2025 18:16:44 +0000 (19:16 +0100)]
Create files

10 months agoRefactor heredoc
Dominik Kaiser [Wed, 15 Jan 2025 18:08:20 +0000 (19:08 +0100)]
Refactor heredoc

10 months agoFix collect_redirs and start refactoring heredoc
Dominik Kaiser [Wed, 15 Jan 2025 17:55:47 +0000 (18:55 +0100)]
Fix collect_redirs and start refactoring heredoc

10 months agoRefactor collect_redirs
Dominik Kaiser [Wed, 15 Jan 2025 17:35:29 +0000 (18:35 +0100)]
Refactor collect_redirs

10 months agoFix waiting errors
Dominik Kaiser [Wed, 15 Jan 2025 17:15:16 +0000 (18:15 +0100)]
Fix waiting errors

10 months agoFix wrong error code
Dominik Kaiser [Wed, 15 Jan 2025 15:39:58 +0000 (16:39 +0100)]
Fix wrong error code

10 months agoRemove error function from get_cmd_path.c
Dominik Kaiser [Wed, 15 Jan 2025 15:37:29 +0000 (16:37 +0100)]
Remove error function from get_cmd_path.c

10 months agoOutsource error function
Dominik Kaiser [Wed, 15 Jan 2025 15:36:45 +0000 (16:36 +0100)]
Outsource error function

10 months agoFix some errors
Dominik Kaiser [Wed, 15 Jan 2025 15:34:01 +0000 (16:34 +0100)]
Fix some errors

10 months agoRefactor get_cmd_path.c
Dominik Kaiser [Wed, 15 Jan 2025 15:15:52 +0000 (16:15 +0100)]
Refactor get_cmd_path.c

10 months agoRefactor execute_cmd.c
Dominik Kaiser [Wed, 15 Jan 2025 14:52:45 +0000 (15:52 +0100)]
Refactor execute_cmd.c

10 months agoRefactor execute_cmd.c
Dominik Kaiser [Wed, 15 Jan 2025 14:51:16 +0000 (15:51 +0100)]
Refactor execute_cmd.c

10 months agoAdd some fixes to execute_cmd
Dominik Kaiser [Wed, 15 Jan 2025 13:43:35 +0000 (14:43 +0100)]
Add some fixes to execute_cmd

10 months agoclean xD
Christopher Uhlig [Tue, 14 Jan 2025 19:22:01 +0000 (20:22 +0100)]
clean xD

10 months agofixe ? added a export return maybe ussles
Christopher Uhlig [Tue, 14 Jan 2025 19:21:31 +0000 (20:21 +0100)]
fixe ? added a export return maybe ussles

10 months agoMerge pull request #28 from dpu-kaiser/uwu
Dominik Kaiser [Tue, 14 Jan 2025 17:33:45 +0000 (18:33 +0100)]
Merge pull request #28 from dpu-kaiser/uwu

Some changes

10 months agoMerge branch 'miau' into uwu
Dominik Kaiser [Tue, 14 Jan 2025 17:32:42 +0000 (18:32 +0100)]
Merge branch 'miau' into uwu

10 months agoSome changes
Dominik Kaiser [Tue, 14 Jan 2025 17:20:33 +0000 (18:20 +0100)]
Some changes

10 months agoupdate for exit bit norm removed staic stuff added prompt flag
Christopher Uhlig [Tue, 14 Jan 2025 17:18:58 +0000 (18:18 +0100)]
update for exit bit norm removed staic stuff added prompt flag

10 months agoMerge tokenizer bugfix into main
Dominik Kaiser [Tue, 14 Jan 2025 15:47:26 +0000 (16:47 +0100)]
Merge tokenizer bugfix into main

10 months agoMerge builtins into mai
Dominik Kaiser [Tue, 14 Jan 2025 15:46:38 +0000 (16:46 +0100)]
Merge builtins into mai

10 months agoMerge branch 'main' into echo-builtint
Dominik Kaiser [Tue, 14 Jan 2025 15:40:30 +0000 (16:40 +0100)]
Merge branch 'main' into echo-builtint

10 months agoMerge interpreter into main
Dominik Kaiser [Tue, 14 Jan 2025 15:39:40 +0000 (16:39 +0100)]
Merge interpreter into main

Interpreter

10 months agoMerge env into main
Dominik Kaiser [Tue, 14 Jan 2025 15:32:38 +0000 (16:32 +0100)]
Merge env into main

10 months agorunning version but with comments
Christopher Uhlig [Mon, 13 Jan 2025 12:30:32 +0000 (13:30 +0100)]
running version but with comments

10 months agohere
Christopher Uhlig [Mon, 13 Jan 2025 10:06:54 +0000 (11:06 +0100)]
here

11 months agoMerge branch 'main' into env
cuhlig [Tue, 17 Dec 2024 14:27:06 +0000 (15:27 +0100)]
Merge branch 'main' into env

11 months agoMerge branch 'main' into bugfix-tokenizer
cuhlig [Tue, 17 Dec 2024 14:22:32 +0000 (15:22 +0100)]
Merge branch 'main' into bugfix-tokenizer

13 months agorestored merge conflict error"
Christopher Uhlig [Fri, 25 Oct 2024 19:00:39 +0000 (21:00 +0200)]
restored merge conflict error"
"

13 months agoupdate for builtins and extra functions
Christopher Uhlig [Fri, 25 Oct 2024 18:53:44 +0000 (20:53 +0200)]
update for builtins and extra functions

13 months agoresolved merge conflicts
Christopher Uhlig [Fri, 25 Oct 2024 18:44:14 +0000 (20:44 +0200)]
resolved merge conflicts

13 months agoadjuste input parameter for builtins
Christopher Uhlig [Fri, 25 Oct 2024 13:56:05 +0000 (15:56 +0200)]
adjuste input parameter for builtins

13 months agoadjusted function prototype
Christopher Uhlig [Fri, 25 Oct 2024 13:54:49 +0000 (15:54 +0200)]
adjusted function prototype

13 months agoassigned null to en struct against segfault
Christopher Uhlig [Fri, 25 Oct 2024 13:53:59 +0000 (15:53 +0200)]
assigned null to en struct against segfault

13 months agoadjusted header for env
Christopher Uhlig [Fri, 25 Oct 2024 13:51:12 +0000 (15:51 +0200)]
adjusted header for env

13 months agonorm
Christopher Uhlig [Fri, 25 Oct 2024 13:50:31 +0000 (15:50 +0200)]
norm

13 months agodate
Christopher Uhlig [Fri, 25 Oct 2024 13:49:59 +0000 (15:49 +0200)]
date

13 months agoHandle all redirections except APPEND
Dominik Kaiser [Fri, 25 Oct 2024 11:44:13 +0000 (13:44 +0200)]
Handle all redirections except APPEND

TODO: Add APPEND handling
TODO: Fix permissions

13 months agoFinish pipes I guess
Dominik Kaiser [Fri, 25 Oct 2024 10:51:07 +0000 (12:51 +0200)]
Finish pipes I guess

Somehow this worked at the first try.
This'll have to be tested more thoroughly.

13 months agoAdd pipe basics
Dominik Kaiser [Tue, 22 Oct 2024 13:42:28 +0000 (15:42 +0200)]
Add pipe basics

TODO: Add actual piping

13 months agoAdd basic command execution
Dominik Kaiser [Mon, 21 Oct 2024 13:08:10 +0000 (15:08 +0200)]
Add basic command execution

13 months agoAdd path handling for real now
Dominik Kaiser [Mon, 21 Oct 2024 12:32:36 +0000 (14:32 +0200)]
Add path handling for real now

13 months agoAdd path handling
Dominik Kaiser [Thu, 17 Oct 2024 15:19:48 +0000 (17:19 +0200)]
Add path handling

13 months agoyes
Dominik Kaiser [Thu, 17 Oct 2024 14:06:53 +0000 (16:06 +0200)]
yes

13 months agoMerge branch 'interpreter' of https://github.com/dpu-kaiser/minishell into echo-builtint
Christopher Uhlig [Thu, 17 Oct 2024 13:52:19 +0000 (15:52 +0200)]
Merge branch 'interpreter' of https://github.com/dpu-kaiser/minishell into echo-builtint

13 months agofixed *tmp and added libft in env header
Christopher Uhlig [Thu, 17 Oct 2024 13:48:50 +0000 (15:48 +0200)]
fixed *tmp and added libft in env header

13 months agoMerge changes from main into interpreter
Dominik Kaiser [Thu, 17 Oct 2024 13:42:31 +0000 (15:42 +0200)]
Merge changes from main into interpreter

13 months agoEnv (#23)
cuhlig [Thu, 17 Oct 2024 13:42:11 +0000 (15:42 +0200)]
Env (#23)

* Add data structure and prototypes for env

* added env linked lis c file

* fixed normitte and fixed return issue

* changed prototypes in header file

---------

Co-authored-by: Dominik Kaiser <dkaiser@2-F-4.42heilbronn.de>
Co-authored-by: Christopher Uhlig <chuhlig@1-C-5.42heilbronn.de>
13 months agochanged prototypes in header file
Christopher Uhlig [Thu, 17 Oct 2024 13:38:15 +0000 (15:38 +0200)]
changed prototypes in header file

13 months agoMerge branch 'env' of https://github.com/dpu-kaiser/minishell into env
Christopher Uhlig [Thu, 17 Oct 2024 13:32:43 +0000 (15:32 +0200)]
Merge branch 'env' of https://github.com/dpu-kaiser/minishell into env

13 months agofixed normitte and fixed return issue
Christopher Uhlig [Thu, 17 Oct 2024 13:32:02 +0000 (15:32 +0200)]
fixed normitte and fixed return issue

13 months agoMerge branch 'main' into env
cuhlig [Thu, 17 Oct 2024 12:34:33 +0000 (14:34 +0200)]
Merge branch 'main' into env

13 months agoadded env linked lis c file
Christopher Uhlig [Thu, 17 Oct 2024 12:32:28 +0000 (14:32 +0200)]
added env linked lis c file

13 months agoremoved env stuf to move it into env branch
Christopher Uhlig [Thu, 17 Oct 2024 12:30:23 +0000 (14:30 +0200)]
removed env stuf to move it into env branch

13 months agoremoved merch conflict
Christopher Uhlig [Thu, 17 Oct 2024 12:22:47 +0000 (14:22 +0200)]
removed merch conflict

13 months agoMerge changes from main into interpreter
Dominik Kaiser [Thu, 17 Oct 2024 12:02:28 +0000 (14:02 +0200)]
Merge changes from main into interpreter

13 months agoMerge parser into main
Dominik Kaiser [Thu, 17 Oct 2024 12:01:47 +0000 (14:01 +0200)]
Merge parser into main

Yippie!

14 months agoBanish the cosmic horror
Dominik Kaiser [Tue, 17 Sep 2024 17:49:29 +0000 (19:49 +0200)]
Banish the cosmic horror

14 months agoMake norminette happy and fry my brain.
Dominik Kaiser [Tue, 17 Sep 2024 17:28:37 +0000 (19:28 +0200)]
Make norminette happy and fry my brain.

I just summoned some cosmic horror, but at least
norminette doesn't complain anymore.

14 months agoFix error message printing
Dominik Kaiser [Tue, 17 Sep 2024 17:25:13 +0000 (19:25 +0200)]
Fix error message printing

14 months agoFix redir ignored at end
Dominik Kaiser [Tue, 17 Sep 2024 15:25:28 +0000 (17:25 +0200)]
Fix redir ignored at end

14 months agoadded remove for env list
Christopher Uhlig [Tue, 17 Sep 2024 14:34:57 +0000 (16:34 +0200)]
added remove for env list

14 months agoAdd error messages
Dominik Kaiser [Tue, 17 Sep 2024 13:09:24 +0000 (15:09 +0200)]
Add error messages

14 months agoFix pipe parsing error
Dominik Kaiser [Tue, 17 Sep 2024 12:39:04 +0000 (14:39 +0200)]
Fix pipe parsing error

14 months agoupdate for unset export and cd
Christopher Uhlig [Fri, 13 Sep 2024 19:46:52 +0000 (21:46 +0200)]
update for unset export and cd

14 months agoupdate builtins for env structure
Christopher Uhlig [Fri, 13 Sep 2024 19:21:09 +0000 (21:21 +0200)]
update builtins for env structure

14 months agoFix norme issues for env.h and repl.c
Dominik Kaiser [Fri, 13 Sep 2024 14:27:13 +0000 (16:27 +0200)]
Fix norme issues for env.h and repl.c

TODO: Fix for tokenizer.c as well. This was probably already solved in
another branch though.

14 months agoFix SEGV on invalid redirection
Dominik Kaiser [Fri, 13 Sep 2024 14:23:04 +0000 (16:23 +0200)]
Fix SEGV on invalid redirection

15 months agoupdate for builtins and now 2 envlist
Christopher Uhlig [Wed, 4 Sep 2024 15:53:41 +0000 (17:53 +0200)]
update for builtins and now 2 envlist

15 months agoHandle empty input
Dominik Kaiser [Thu, 29 Aug 2024 14:44:56 +0000 (16:44 +0200)]
Handle empty input

15 months agoadded other token append to remove the error that its not at the start
Christopher Uhlig [Thu, 29 Aug 2024 13:57:14 +0000 (15:57 +0200)]
added other token append to remove the error that its not at the start

15 months agojust date
Christopher Uhlig [Thu, 29 Aug 2024 13:56:23 +0000 (15:56 +0200)]
just date

15 months agotemporary here get envlst
Christopher Uhlig [Thu, 29 Aug 2024 13:55:46 +0000 (15:55 +0200)]
temporary here get envlst

15 months ago Update repl
Dominik Kaiser [Thu, 29 Aug 2024 13:31:07 +0000 (15:31 +0200)]
 Update repl