-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executor merge #14
Executor merge #14
Commits on Jul 13, 2023
-
🔧 chore(Makefile): update SRC variable to include 'lists/init' file
📝 docs(enum.h): add enum for different types of tokens 🔧 fix(minishell.h): update last modified timestamp in file header 🔧 fix(minishell.h): update last modified timestamp in file header 🔧 fix(structs.h): update last modified timestamp in file header ✨ feat(minishell.h): add support for bool type ✨ feat(minishell.h): add support for unistd.h library ✨ feat(minishell.h): add support for list_append function ✨ feat(minishell.h): add support for list_insert function ✨ feat(structs.h): add support for t_token struct ✨ feat(structs.h): add support for t_token type field ✨ feat(structs.h): add support for t_token value field ✨ feat(structs.h): add support for t_token prev field ✨ feat(structs.h): add support for t_token next field 📝 docs(init.c): add documentation for list_append and list_insert functions
Configuration menu - View commit details
-
Copy full SHA for 0683ca5 - Browse repository at this point
Copy the full SHA 0683ca5View commit details
Commits on Jul 15, 2023
-
🔀 chore(enum.h): update enum values and comments
🔀 chore(structs.h): update timestamp in comments
Configuration menu - View commit details
-
Copy full SHA for 5cc22c0 - Browse repository at this point
Copy the full SHA 5cc22c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b29f05 - Browse repository at this point
Copy the full SHA 5b29f05View commit details -
🔧 chore(c_cpp_properties.json): update includePath for Mac configuration
🔧 chore(Makefile): update INCLUDES variable to include additional directories 🔧 chore(libft): update libft submodule commit reference 🔧 chore(src/lexer): add new files index.c and utils.c
Configuration menu - View commit details
-
Copy full SHA for 4a240dc - Browse repository at this point
Copy the full SHA 4a240dcView commit details
Commits on Jul 16, 2023
-
🔧 fix(c_cpp_properties.json): update include paths to include subdire…
…ctories 🔧 fix(Makefile): remove lists/init from the list of source files 🔧 fix(includes/minishell.h): update timestamp 🔧 fix(includes/structs.h): update timestamp 🔧 fix(src/main.c): add tokenization logic
Configuration menu - View commit details
-
Copy full SHA for 61c53f6 - Browse repository at this point
Copy the full SHA 61c53f6View commit details
Commits on Jul 17, 2023
-
🔧 fix(minishell.h): update last modified timestamp
🔧 fix(libft): update libft submodule commit 🔧 fix(main.c): fix memory leaks and add debug print statements ✨ feat(main.c): add support for tokenizing input commands in minishell
Configuration menu - View commit details
-
Copy full SHA for 5c1cbd5 - Browse repository at this point
Copy the full SHA 5c1cbd5View commit details -
🔧 chore(Makefile): fix typo in INCLUDES variable
🔧 chore(libft): update libft submodule to commit e940f84ca25690b4f7d9300ed027922dff3e5a4b 🔧 chore(main.c): refactor print_vec function to pretty_print_vector 🔧 chore(main.c): refactor clear_structs_vec function to clear_token 🔧 chore(main.c): update print_vec function to pretty print tokens 🔧 chore(main.c): update clear_structs_vec function to properly free memory
Configuration menu - View commit details
-
Copy full SHA for e926911 - Browse repository at this point
Copy the full SHA e926911View commit details -
🐛 fix(libft): update subproject commit hash
🐛 fix(main.c): remove unnecessary initialization of tokens vector
Configuration menu - View commit details
-
Copy full SHA for 02dfb7f - Browse repository at this point
Copy the full SHA 02dfb7fView commit details -
🔀 chore(libft): update subproject commit hash
🐛 fix(main.c): fix memory leak by initializing tokens vector before each iteration
Configuration menu - View commit details
-
Copy full SHA for f5a7657 - Browse repository at this point
Copy the full SHA f5a7657View commit details -
🐛 fix(main.c): remove unnecessary printf statement and free memory in…
… tokenize function
Configuration menu - View commit details
-
Copy full SHA for 02b94e5 - Browse repository at this point
Copy the full SHA 02b94e5View commit details -
📝 chore(launch.json): add launch configuration for debugging
🔄 chore(libft): update libft submodule to commit 7e3359b 🐛 fix(main.c): fix pretty_print_vector function formatting 🐛 fix(main.c): fix token type assignment in tokenize function 🐛 fix(main.c): remove check_quotes_parantheses function call in main function
Configuration menu - View commit details
-
Copy full SHA for eb4349f - Browse repository at this point
Copy the full SHA eb4349fView commit details -
🐛 fix(launch.json): update launch arguments to a longer string
🐛 fix(main.c): fix comparison function from mini_strcmp to ft_strcmp ✨ feat(main.c): improve pretty printing of tokens in the vector
Configuration menu - View commit details
-
Copy full SHA for 3af23d3 - Browse repository at this point
Copy the full SHA 3af23d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed49ebd - Browse repository at this point
Copy the full SHA ed49ebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 761a2cc - Browse repository at this point
Copy the full SHA 761a2ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43b3dbc - Browse repository at this point
Copy the full SHA 43b3dbcView commit details -
🐛 fix(main.c): fix typo in variable name 'lenght' to 'length' in pret…
…ty_print_vector function 🐛 fix(main.c): fix memory leak by freeing token in clear_token function 🐛 fix(main.c): fix incorrect assignment of token value in tokenize function 🐛 fix(main.c): fix incorrect push of token address in tokenize function
Configuration menu - View commit details
-
Copy full SHA for b731b03 - Browse repository at this point
Copy the full SHA b731b03View commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65a3005 - Browse repository at this point
Copy the full SHA 65a3005View commit details -
Configuration menu - View commit details
-
Copy full SHA for a54318d - Browse repository at this point
Copy the full SHA a54318dView commit details -
🔧 chore(launch.json): update args in Debug configuration
📦 chore(main.c): update timestamp in Updated comment 🔧 chore(print_vector.c): add new file print_vector.c
Configuration menu - View commit details
-
Copy full SHA for 26a5da0 - Browse repository at this point
Copy the full SHA 26a5da0View commit details -
🔀 chore(libft): update libft submodule to commit 9f4b1373abd91ac57a2f…
…a8785dd683d7c879b8d2 🐛 fix(main.c): fix token indexing in pretty_print_vector function ✨ feat(main.c): add capitalize_token function to convert token values to lowercase
Configuration menu - View commit details
-
Copy full SHA for 28574ac - Browse repository at this point
Copy the full SHA 28574acView commit details -
🐛 fix(enum.h): update timestamp in file header
🐛 fix(main.c): change function name capitalize_token to uncapitalize_token 🐛 fix(main.c): change variable name tokens to t in tokenize function 🐛 fix(main.c): change variable name tokens to t in main function
Configuration menu - View commit details
-
Copy full SHA for 7d9a9e6 - Browse repository at this point
Copy the full SHA 7d9a9e6View commit details -
🐛 fix(main.c): fix typo in variable name 't' to 'tokens'
✨ feat(main.c): add dynamic tokenization of input string
Configuration menu - View commit details
-
Copy full SHA for 9b29e5d - Browse repository at this point
Copy the full SHA 9b29e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ca21d - Browse repository at this point
Copy the full SHA a1ca21dView commit details -
🔀 chore(structs.h): update include statement for enum.h
🔄 refactor(structs.h): update timestamp in file header comment
Configuration menu - View commit details
-
Copy full SHA for c9e353a - Browse repository at this point
Copy the full SHA c9e353aView commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 07610cc - Browse repository at this point
Copy the full SHA 07610ccView commit details -
🐛 fix(lexer/index.c): fix memory leak in create_quote_string function
🐛 fix(main.c): fix memory leak in main function
Configuration menu - View commit details
-
Copy full SHA for e207d98 - Browse repository at this point
Copy the full SHA e207d98View commit details -
makefile debugger, header define DEBUG
Julius de Baaij committedJul 19, 2023 Configuration menu - View commit details
-
Copy full SHA for 1a766bb - Browse repository at this point
Copy the full SHA 1a766bbView commit details -
🔧 chore(main.c): update last updated timestamp in file header
🔧 chore(main.c): add check_leaks function to detect memory leaks ✨ feat(main.c): add debug mode with debug information and memory leak check
Configuration menu - View commit details
-
Copy full SHA for c677b86 - Browse repository at this point
Copy the full SHA c677b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5129774 - Browse repository at this point
Copy the full SHA 5129774View commit details -
🔧 chore(Makefile): add new source files to the build process to ensur…
…e they are compiled 🔧 chore(minishell.h): update the last modified timestamp to reflect recent changes 🔧 chore(libft): update libft submodule to the latest commit 🔧 chore(lexer/index.c): update the last modified timestamp to reflect recent changes 🔧 chore(main.c): update the last modified timestamp to reflect recent changes ✨ feat(utils/error.c): add new error handling function to handle and display errors in a formatted way
Julius de Baaij committedJul 19, 2023 Configuration menu - View commit details
-
Copy full SHA for 4b4cd9c - Browse repository at this point
Copy the full SHA 4b4cd9cView commit details -
🔨 chore(libft): update libft submodule to commit 1e79ca0e5fccbe5157bc…
…9e788876f5f6ae8b716c 🔨 chore(main.c): comment out uncapitalize_token and tokenize functions 🔨 chore(main.c): comment out tokenize function call and add error message for lexer error 🔨 chore(main.c): free tokens vector and reinitialize it after each input
Configuration menu - View commit details
-
Copy full SHA for f750563 - Browse repository at this point
Copy the full SHA f750563View commit details -
🐛 fix(server.ts): change port variable case from lowercase port to up…
…percase PORT to improve semantics ✨ feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port 🔧 chore(launch.json): update launch.json with new arguments for debugging 🔧 chore(Makefile): add structs/token to the list of source files to be compiled 🔧 chore(minishell.h): add function prototype for create_token in token.c 🔧 chore(libft): update libft submodule to commit f39c12e ✨ feat(index.c): add create_token function to create a token struct 🔧 chore(index.c): refactor lexer function to handle quotes and create tokens
Julius de Baaij committedJul 19, 2023 Configuration menu - View commit details
-
Copy full SHA for ed0ec86 - Browse repository at this point
Copy the full SHA ed0ec86View commit details
Commits on Jul 20, 2023
-
🐛 fix(launch.json): update launch arguments to include additional tes…
…t cases for the program 🐛 fix(index.c): fix logic error in create_string function to correctly handle right index and add missing increment of i 🐛 fix(index.c): fix logic error in create_quote_string function to correctly handle left index and add missing increment of i
Julius de Baaij committedJul 20, 2023 Configuration menu - View commit details
-
Copy full SHA for db7eea9 - Browse repository at this point
Copy the full SHA db7eea9View commit details -
🐛 fix(Makefile): remove unnecessary dependency on $(READLINE) in $(NA…
…ME) target ✨ feat(Makefile): add readline target to build $(READLINE) library 🐛 fix(enum.h): fix typo in ENUM_H macro definition 🐛 fix(minishell.h): fix indentation in include statements ✨ feat(parser): add parser function and helper functions for parsing tokens ✨ feat(debug): add print_token_vector function to print token vector in a pretty way 🐛 fix(lexer/index.c): remove unnecessary check for spaces before creating quote string 🔥 refactor(init.c): remove unused code and delete init.c file ✨ feat(main.c): add debug mode and refactor loop logic 🆕 feat(parser/index.c): add parser function to handle token types and check for environment variables 📝 docs(quotes.c): add quotes.c file with functions to check if a string is enclosed in double or single quotes 🔨 refactor(token.c): change function signature of create_token to match coding style 🔨 refactor(token.c): add clear_token function to free memory of token
Configuration menu - View commit details
-
Copy full SHA for 5b4cc2f - Browse repository at this point
Copy the full SHA 5b4cc2fView commit details -
🐛 fix(Makefile): add missing parser/tokens2 file to the SRC variable
🐛 fix(enum.h): change HERE_DOC to O_HEREDOC and I_HEREDOC 🐛 fix(minishell.h): add missing whitespace before define directive 🐛 fix(minishell.h): add missing whitespace before include directives 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): add missing whitespace before ifndef directive 🐛 fix(minishell.h): 🐛 fix(parser/index.c): fix return type of return_map function ✨ feat(parser/index.c): add function map for token types 📝 docs(parser/tokens.c): add functions for pipe and redirect tokens 📝 docs(parser/tokens2.c): add functions for environment variable and logical operators tokens
Configuration menu - View commit details
-
Copy full SHA for 495a5f8 - Browse repository at this point
Copy the full SHA 495a5f8View commit details -
🔧 fix(enum.h): add PARENTHESES enum value
🔧 fix(minishell.h): add is_encased_parentheses function declaration 🔧 fix(main.c): return from loop function if lexer returns false 🔧 fix(parser/index.c): handle malloc failure in return_map function 🔧 fix(parser/index.c): add PARENTHESES enum value to func_map array 🔧 fix(parser/index.c): handle malloc failure in parser function 🔧 fix(parser/quotes.c): add is_encased_parentheses function implementation
Configuration menu - View commit details
-
Copy full SHA for 505f16a - Browse repository at this point
Copy the full SHA 505f16aView commit details -
🐛 fix(server.ts): change port variable case from lowercase port to up…
…percase PORT to improve semantics ✨ feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port 🐛 fix(launch.json): remove invalid argument in debug configuration 🐛 fix(Makefile): fix typo in lexer/index path 🐛 fix(minishell.h): update timestamp in file header 🐛 fix(lexer/index.c): fix bug in check_next_quote function ✨ feat(lexer/index.c): add support for parsing parantheses in lexer ✨ feat(lexer/string.c): add functions to create string, quote string, and parantheses string in lexer 🔥 chore(lexer/utils.c): delete unused file
Julius de Baaij committedJul 20, 2023 Configuration menu - View commit details
-
Copy full SHA for b255cc3 - Browse repository at this point
Copy the full SHA b255cc3View commit details -
🐛 fix(Makefile): remove unused file from source list
🐛 fix(enum.h): reorder enum values to match their corresponding definitions
Configuration menu - View commit details
-
Copy full SHA for e3c5f82 - Browse repository at this point
Copy the full SHA e3c5f82View commit details -
🐛 fix(launch.json): update args in Debug configuration to fix syntax …
…error 🐛 fix(index.c): increment i after checking for closing parentheses to prevent infinite loop
Julius de Baaij committedJul 20, 2023 Configuration menu - View commit details
-
Copy full SHA for af8cc97 - Browse repository at this point
Copy the full SHA af8cc97View commit details -
🔧 fix(minishell.h): update timestamp in file header comments
🔧 fix(minishell.h): remove empty line 🔧 fix(print_vector.c): fix indentation in print_token_vector function 🔧 fix(main.c): update timestamp in file header comments 🔧 fix(main.c): remove empty line 🔧 fix(parser/index.c): update timestamp in file header comments 🔧 fix(parser/index.c): update timestamp in return_map function 🔧 fix(parser/index.c): update timestamp in parser function 🔧 fix(parser/index.c): remove empty line 🔧 fix(structs/token.c): fix indentation in create_token function 🔧 fix(structs/token.c): fix indentation in clear_token function 🔧 fix(utils/error.c): fix indentation in err function
Configuration menu - View commit details
-
Copy full SHA for 335b2a4 - Browse repository at this point
Copy the full SHA 335b2a4View commit details -
🐛 fix(lexer/index.c): fix indentation and spacing issues in check_nex…
…t_quote and check_parantheses functions ✨ feat(lexer/index.c): improve code readability by using checkchar function to check for specific characters 🐛 fix(lexer/index.c): fix typo in lexer function, change checkchar condition from 1 to 0 🐛 fix(lexer/string.c): fix indentation and spacing issues in create_string function ✨ feat(lexer/string.c): refactor create_string function to improve code readability and maintainability 🐛 fix(lexer/string.c): fix typo in create_quote_string function, change checkchar condition from 1 to 0 🐛 fix(lexer/string.c): fix typo in create_paran_string function, change checkchar condition from 1 to 0
Julius de Baaij committedJul 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 4c7d6ea - Browse repository at this point
Copy the full SHA 4c7d6eaView commit details -
🐛 fix(server.ts): change port variable case from lowercase port to up…
…percase PORT ✨ feat(server.ts): add support for process.env.PORT environment variable 🔧 chore(launch.json): update launch configuration arguments 🔧 chore(Makefile): add utils/init to source files 🔧 chore(minishell.h): update last updated timestamp 🔧 chore(structs.h): update last updated timestamp 🔧 chore(index.c): update last updated timestamp 🔧 chore(string.c): update last updated timestamp 🔧 chore(main.c): add global data variable and call init function 🎉 feat(init.c): add init function to initialize global data and signal struct The `init.c` file is added to the project and contains the `init` function. This function is responsible for initializing the global data and signal struct used in the project. It creates a signal struct with initial values for the `inte`, `quit`, and `pipe` fields. It also initializes two vectors, `tokens` and `env`, with initial capacities. Finally, it sets the `exit_status` field to "0" using `ft_strdup`.
Configuration menu - View commit details
-
Copy full SHA for 59ecb84 - Browse repository at this point
Copy the full SHA 59ecb84View commit details -
🐛 fix(main.c): uncomment parser function call
🔥 chore(main.c): remove commented out code 🔀 merge(main.c): merge changes from mdekker/jde branch
Configuration menu - View commit details
-
Copy full SHA for 6610f93 - Browse repository at this point
Copy the full SHA 6610f93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f30689 - Browse repository at this point
Copy the full SHA 9f30689View commit details
Commits on Jul 21, 2023
-
🔨 chore(libft): update subproject commit hash
🐛 fix(main.c): fix typo in comment 🔨 chore(main.c): add debug print statements for counting pipes in token vector 🔨 chore(main.c): add debug print statements for counting pipes in g_data.tokens vector
Configuration menu - View commit details
-
Copy full SHA for 6128e43 - Browse repository at this point
Copy the full SHA 6128e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa4fd0 - Browse repository at this point
Copy the full SHA 5aa4fd0View commit details -
🐛 fix(server.ts): change port variable case from lowercase port to up…
…percase PORT ✨ feat(server.ts): add support for process.env.PORT environment variable 🔧 chore(.vscode/launch.json): add preLaunchTask "build" 🔧 chore(.vscode/tasks.json): add build task 🔧 chore(Makefile): add structs/env to SRC variable 🔧 chore(includes/minishell.h): update init function signature 🔧 chore(libft): update submodule commit 🔧 chore(src/debug/print_vector.c): update print_token_vector function name to print_vector 🔧 chore(src/lexer/string.c): update ft_vec_push calls to use vec->push 🔧 chore(src/main.c): update ft_vec_free calls to not pass clear_token function 🔧 chore(src/main.c): update init function call to pass env parameter 🔧 chore(src/main.c): update ft_vec 🐛 fix(parser/index.c): update timestamp in file header comment 🐛 fix(parser/index.c): update token retrieval method in parse_loop function ✨ feat(structs/env.c): add implementation for create_env function ✨ feat(structs/env.c): add implementation for print_env function ✨ feat(structs/env.c): add implementation for clear_env function 🐛 fix(structs/token.c): update timestamp in file header comment ✨ feat(structs/token.c): add implementation for print_token function ✨ feat(structs/token.c): add implementation for clear_token function 🐛 fix(utils/init.c): update timestamp in file header comment ✨ feat(utils/init.c): add implementation for init_env function ✨ feat(utils/init.c): call init_env function in init function
Configuration menu - View commit details
-
Copy full SHA for 9a0fc6a - Browse repository at this point
Copy the full SHA 9a0fc6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9713736 - Browse repository at this point
Copy the full SHA 9713736View commit details -
🔥 refactor(main.c): remove unused code and commented out function
🔒 chore(main.c): free g_data.env before exiting loop
Configuration menu - View commit details
-
Copy full SHA for 45df33f - Browse repository at this point
Copy the full SHA 45df33fView commit details -
🐛 fix(Makefile): add missing file 'utils/global' to SRC variable
🐛 fix(includes/minishell.h): update timestamp in file header 🐛 fix(includes/structs.h): update timestamp in file header 🐛 fix(src/lexer/index.c): update timestamp in file header 🐛 fix(src/lexer/string.c): update timestamp in file header ✨ feat(includes/minishell.h): add declaration for free_global function ✨ feat(src/lexer/index.c): add check_next_quote function ✨ feat(src/lexer/index.c): add check_parantheses function ✨ feat(src/lexer/index.c): add check_delimiters function ✨ feat(src/lexer/index.c): add make_string function ✨ feat(src/lexer/index.c): add lexer function ✨ feat(src/lexer/string.c): add build_string function ✨ feat(src/lexer/string 🐛 fix(main.c): update last modified timestamp in main.c 🐛 fix(main.c): update free_global function calls in loop and main functions 🐛 fix(parser/index.c): fix size of func_map array in return_map function 🐛 fix(parser/quotes.c): add missing function descriptions 🐛 fix(parser/tokens.c): add missing function descriptions 🐛 fix(parser/tokens2.c): add missing function descriptions 🐛 fix(env.c): fix typo in comment 🐛 fix(token.c): fix typo in comment 🐛 fix(error.c): fix typo in comment ✨ feat(global.c): add function to free global variables ✨ feat(init.c): add function to initialize global variables and environment
Configuration menu - View commit details
-
Copy full SHA for 306131d - Browse repository at this point
Copy the full SHA 306131dView commit details -
Configuration menu - View commit details
-
Copy full SHA for decfc2c - Browse repository at this point
Copy the full SHA decfc2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba6ea2c - Browse repository at this point
Copy the full SHA ba6ea2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c1311f - Browse repository at this point
Copy the full SHA 3c1311fView commit details -
🐛 fix(minishell.h): change function signature of check_quotes_paranth…
…eses ✨ feat(minishell.h): add new function parse_one 🐛 fix(print_vector.c): change function signature of print_type 🐛 fix(main.c): change condition for printing env vector 🐛 fix(index.c): change condition for checking unknown token type 🐛 fix(token.c): change function signature of create_token and print_token
Configuration menu - View commit details
-
Copy full SHA for fef0dbd - Browse repository at this point
Copy the full SHA fef0dbdView commit details -
🔧 fix(enum.h): add ENV_QUESTION enum value to the list of types
🔧 fix(minishell.h): add is_env_questionmark function declaration 🔧 fix(print_vector.c): add ENV_QUESTION case to print_type function 🔧 fix(index.c): add ENV_QUESTION to the func_map array 🔧 fix(tokens2.c): add is_env_questionmark function implementation
Configuration menu - View commit details
-
Copy full SHA for 8d9b484 - Browse repository at this point
Copy the full SHA 8d9b484View commit details -
🔧 fix(minishell.h): remove unused is_env_questionmark function
🔧 fix(parser/index.c): reduce size of func_map array from 13 to 11 🔧 fix(parser/tokens2.c): remove is_env_questionmark function
Configuration menu - View commit details
-
Copy full SHA for 4f8fcb4 - Browse repository at this point
Copy the full SHA 4f8fcb4View commit details -
🐛 fix(launch.json): update program path to include current directory …
…for minishell 🐛 fix(Makefile): add missing lexer/token.c file to the source files list 🐛 fix(minishell.h): add missing declaration for operator_split function ✨ feat(lexer/index.c): update timestamp in file header comment ✨ feat(lexer/token.c): add implementation for operator_split function to split tokens with operators ✨ feat(main.c): update timestamp in file header comment and add call to operator_split function after parsing tokens
Julius de Baaij committedJul 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 2d6f421 - Browse repository at this point
Copy the full SHA 2d6f421View commit details -
🔀 chore(libft): update libft submodule to commit 9cce6eca4ccf2b425ce0…
…e600f499e15b3f2b8ece 🗑️ chore(src): delete .DS_Store file
Configuration menu - View commit details
-
Copy full SHA for 170f558 - Browse repository at this point
Copy the full SHA 170f558View commit details
Commits on Jul 24, 2023
-
🔧 chore(Makefile): add -fsanitize=address flag to DEBUG_FLAGS
🔧 chore(token.c): update timestamp in file header 🔧 chore(string.c): update timestamp in file header 🔧 chore(main.c): update timestamp in file header 🔧 chore(token.c): refactor operator_split function 🔧 chore(token.c): refactor split function
Configuration menu - View commit details
-
Copy full SHA for 70687a6 - Browse repository at this point
Copy the full SHA 70687a6View commit details -
🔀 chore(libft): update subproject commit hash
🐛 fix(token.c): remove unused array element and print array elements 🐛 fix(error.c): update timestamp in error message
Configuration menu - View commit details
-
Copy full SHA for aaa0485 - Browse repository at this point
Copy the full SHA aaa0485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 826c91c - Browse repository at this point
Copy the full SHA 826c91cView commit details -
🐛 fix(launch.json): update args value to include escaped quotes and s…
…pecial characters 🔨 refactor(main.c): change check_leaks function to static 🔨 refactor(main.c): change token_is_pipe function to a comment 🔨 refactor(main.c): remove unused code 🔨 refactor(main.c): remove commented out code 🔨 refactor(main.c): remove todo comment 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor(main.c): remove unused function parameter 🔨 refactor
Configuration menu - View commit details
-
Copy full SHA for 9c277d7 - Browse repository at this point
Copy the full SHA 9c277d7View commit details
Commits on Jul 29, 2023
-
🐛 fix(Makefile): remove address sanitizer flag from DEBUG_FLAGS
🐛 fix(parser/index.c): update timestamp in file header comment 🐛 fix(parser/quotes.c): remove redundant check for empty string 🐛 fix(parser/tokens.c): remove redundant check for empty string 🐛 fix(parser/tokens2.c): remove redundant check for empty string 🐛 fix(utils/init.c): update timestamp in file header comment ✨ feat(server.ts): add support for process.env.PORT environment variable
Configuration menu - View commit details
-
Copy full SHA for 31132d8 - Browse repository at this point
Copy the full SHA 31132d8View commit details
Commits on Jul 31, 2023
-
bugfix: lexer, fixed ignoring first character
Julius De Baaij committedJul 31, 2023 Configuration menu - View commit details
-
Copy full SHA for a8e47f1 - Browse repository at this point
Copy the full SHA a8e47f1View commit details -
Julius De Baaij committed
Jul 31, 2023 Configuration menu - View commit details
-
Copy full SHA for b74405b - Browse repository at this point
Copy the full SHA b74405bView commit details -
Julius De Baaij committed
Jul 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 103c1ba - Browse repository at this point
Copy the full SHA 103c1baView commit details
Commits on Aug 2, 2023
-
Julius De Baaij committed
Aug 2, 2023 Configuration menu - View commit details
-
Copy full SHA for 3f031e2 - Browse repository at this point
Copy the full SHA 3f031e2View commit details
Commits on Aug 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f7500a - Browse repository at this point
Copy the full SHA 3f7500aView commit details
Commits on Aug 12, 2023
-
🔧 fix(settings.json): add file associations for "__locale" and "__str…
…ing" to be recognized as C files 🔧 fix(enum.h): rename "I_HEREDOC" enum value to "HEREDOC" for consistency and clarity 🔧 fix(structs.h): change "t_vector exec" to "t_pipe exec" to accurately represent the type of the variable 🔧 fix(print_vector.c): change "I_HEREDOC" to "HEREDOC" in the extra_types function for consistency 🔧 fix(exec.c): update comments to reflect the plan of executing the entire process in a child process 🔧 fix(group.c): update comments to reflect the plan of handling HEREDOCs in the main process and redirects in child processes 🔧 fix(group.c): remove unused group_range function 🔧 fix(group.c): update comments to reflect the step-by-step process of grouping tokens and creating t_pipe 🔧 fix(group.c): update comments to reflect the plan of handling redirects and pipes in the group_tokens function 🔧 fix(index.c): rename "I_HEREDOC" to "HEREDOC" in the func_map array for consistency 🔧 fix(verify_token.c): rename "I_HEREDOC" to "HEREDOC" in the verify_token function for consistency
Configuration menu - View commit details
-
Copy full SHA for e503fc2 - Browse repository at this point
Copy the full SHA e503fc2View commit details -
🔧 fix(structs.h): update struct field names for better clarity and se…
…mantics 🔧 fix(exec.c): update comments and remove unnecessary code 🔧 fix(group.c): update comments and remove unnecessary code
Configuration menu - View commit details
-
Copy full SHA for 2bcbf3a - Browse repository at this point
Copy the full SHA 2bcbf3aView commit details
Commits on Aug 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d3d6d2 - Browse repository at this point
Copy the full SHA 2d3d6d2View commit details -
Julius De Baaij committed
Aug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 9cdba87 - Browse repository at this point
Copy the full SHA 9cdba87View commit details
Commits on Aug 17, 2023
-
Julius De Baaij committed
Aug 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 28ee1bb - Browse repository at this point
Copy the full SHA 28ee1bbView commit details -
Julius De Baaij committed
Aug 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 55ba96d - Browse repository at this point
Copy the full SHA 55ba96dView commit details
Commits on Aug 18, 2023
-
🔧 chore(.gitignore): add .heredoc file to the repository to track her…
…edoc files 🔧 chore(Makefile): add exec/exec.c to the source files list to include it in the build process 🔧 chore(includes/minishell.h): add exec function declaration to the header file for proper function prototype 🔧 chore(libft): update libft submodule to commit 7cd6635d2ed0acd43bc50ffdacae207e28988488 🔧 chore(src/exec/exec.c): refactor exec function to improve code readability and remove unnecessary comments 🔧 chore(src/exec/group.c): refactor group_range function to improve code readability and remove commented code 🔧 chore(src/exec/heredoc.c): refactor heredoc function to improve code readability and remove unnecessary comments 🔧 chore(src/main.c): refactor main function to improve code readability and remove commented code
Configuration menu - View commit details
-
Copy full SHA for 95bed6e - Browse repository at this point
Copy the full SHA 95bed6eView commit details -
Julius De Baaij committed
Aug 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 35b3dfa - Browse repository at this point
Copy the full SHA 35b3dfaView commit details -
Julius De Baaij committed
Aug 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 2dc96ba - Browse repository at this point
Copy the full SHA 2dc96baView commit details
Commits on Aug 19, 2023
-
🐛 fix(server.ts): change port variable case from lowercase port to up…
…percase PORT to improve semantics ✨ feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port 🐛 fix(Makefile): add missing source files to SRC variable to fix compilation errors ✨ feat(enum.h): add enum for different types of errors and processes for better error handling and process identification ✨ feat(minishell.h): add errno.h include for better error handling ✨ feat(minishell.h): add rm_quotes function to remove quotes from tokens ✨ feat(minishell.h): add t_exit enum for different types of errors ✨ feat(minishell.h): add t_process enum for different types of processes ✨ feat(minishell.h): add envp parameter to t_exec struct to pass environment variables to executor ✨ feat(minishell.h): add create_processes function to create child processes for execution ✨ feat(exec.c): add close_pipes function to close pipe file descriptors in groups ✨ feat(exec.c): add wait_processes function to wait for child processes to finish execution ✨ feat(executor.c): add executor function to handle execution of commands and processes ✨ feat(executor.c): add exit_mini function to handle program exit with error message and exit code ✨ feat(executor.c): add err function to handle error messages and exit codes ✨ feat(executor.c): add handle_redirects function to handle input/output redirections in groups ✨ feat(exec_process.c): add exec_process function to execute individual processes in groups ✨ feat(group.c): add group_tokens function to group tokens into executable groups ✨ feat(miscellaneous.c): add rm_quotes function to remove quotes from tokens
Configuration menu - View commit details
-
Copy full SHA for 68579d4 - Browse repository at this point
Copy the full SHA 68579d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d42904 - Browse repository at this point
Copy the full SHA 7d42904View commit details
Commits on Aug 28, 2023
-
🔀 chore(libft): update submodule commit reference
🔧 fix(print_vector.c): fix typo in variable name 'lenght' to 'length' 🔧 fix(create_processes.c): fix typo in variable name 'lenght' to 'length' 🔧 fix(exec.c): fix typo in variable name 'lenght' to 'length' 🔧 fix(group.c): fix typo in variable name 'lenght' to 'length' 🔧 fix(redirect.c): fix typo in variable name 'lenght' to 'length' 🔧 fix(token.c): fix typo in function name 'array_lenght' to 'array_length' 🔧 fix(index.c): fix typo in variable name 'lenght' to 'length'
Configuration menu - View commit details
-
Copy full SHA for 682e11d - Browse repository at this point
Copy the full SHA 682e11dView commit details -
🐛 fix(create_processes.c): change ft_vector_get to vector_get
🐛 fix(create_processes.c): change ft_vector_get to vector_get 🐛 fix(create_processes.c): change ft_vector_get to vector_get 🐛 fix(create_processes.c): change ft_vector_get to vector_get 🐛 fix(exec.c): change ft_vector_get to vector_get 🐛 fix(exec.c): change ft_vector_get to vector_get 🐛 fix(exec_process.c): change ft_vector_get to vector_get 🐛 fix(group.c): change ft_vec_get to vec_get 🐛 fix(group.c): change ft_vec_push to vec_push 🐛 fix(group.c): change ft_vec_push to vec_push 🐛 fix(group.c): change ft_vec_push to vec_push 🐛 fix(group.c): change ft_vec_push to vec_push 🐛 fix(group.c): change ft_vec_push 🔧 fix(group.c): change function name from ft_vec_free to vec_free 🔧 fix(group.c): change function name from ft_vec_init to vec_init 🔧 fix(global.c): change function name from ft_vec_free to vec_free 🔧 fix(init.c): change function name from ft_vec_init to vec_init
Configuration menu - View commit details
-
Copy full SHA for 35008c9 - Browse repository at this point
Copy the full SHA 35008c9View commit details -
🐛 fix(print_vector.c): change function call from vec->get to vec_get
🐛 fix(token.c): change function call from vec->get to vec_get 🐛 fix(main.c): change function call from ft_vec_init to vec_init 🐛 fix(index.c): change function call from vec->get to vec_get 🐛 fix(init.c): change function call from g_data.env.push to vec_push
Configuration menu - View commit details
-
Copy full SHA for 61ef2e3 - Browse repository at this point
Copy the full SHA 61ef2e3View commit details
Commits on Aug 30, 2023
-
added verify_token function, started on shortening group.c function
Julius De Baaij committedAug 30, 2023 Configuration menu - View commit details
-
Copy full SHA for c6e178f - Browse repository at this point
Copy the full SHA c6e178fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bed0180 - Browse repository at this point
Copy the full SHA bed0180View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3007a2e - Browse repository at this point
Copy the full SHA 3007a2eView commit details
Commits on Sep 1, 2023
-
Julius De Baaij committed
Sep 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 7063fbd - Browse repository at this point
Copy the full SHA 7063fbdView commit details
Commits on Sep 3, 2023
-
replacing global wiht t_shell data, passing data everywhere so it can…
… be freed on exit)
Julius De Baaij committedSep 3, 2023 Configuration menu - View commit details
-
Copy full SHA for 0a1dad0 - Browse repository at this point
Copy the full SHA 0a1dad0View commit details
Commits on Sep 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 502c594 - Browse repository at this point
Copy the full SHA 502c594View commit details -
New plan: put type in struct to define the error + str, if a function…
… returns false then write err, turn all voids into bool, red + find_cmd still need to be done
Julius De Baaij committedSep 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 86ad7e5 - Browse repository at this point
Copy the full SHA 86ad7e5View commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 17b9028 - Browse repository at this point
Copy the full SHA 17b9028View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90887f1 - Browse repository at this point
Copy the full SHA 90887f1View commit details -
🔧 fix(shell.c): initialize exit_type and exit_msg variables in init_s…
…hell function to prevent potential uninitialized variable usage 🔧 fix(error.c): refactor err function to use the exit_type and exit_msg variables from the t_shell struct instead of passing them as arguments ✨ feat(error.c): add set_err function to set the exit_type and exit_msg variables in the t_shell struct based on the type of error ✨ feat(error.c): add write_err function to print error messages based on the exit_type and exit_msg variables in the t_shell struct
Configuration menu - View commit details
-
Copy full SHA for edabb67 - Browse repository at this point
Copy the full SHA edabb67View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf94b4f - Browse repository at this point
Copy the full SHA bf94b4fView commit details