Skip to content
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

Merged
merged 93 commits into from
Sep 8, 2023
Merged

Executor merge #14

merged 93 commits into from
Sep 8, 2023

Commits on Jul 13, 2023

  1. 🔧 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
    LithiumOx committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    0683ca5 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. 🔀 chore(enum.h): update enum values and comments

    🔀 chore(structs.h): update timestamp in comments
    LithiumOx committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    5cc22c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b29f05 View commit details
    Browse the repository at this point in the history
  3. 🔧 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
    LithiumOx committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    4a240dc View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. 🔧 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
    LithiumOx committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    61c53f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. 🔧 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
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    5c1cbd5 View commit details
    Browse the repository at this point in the history
  2. 🔧 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
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    e926911 View commit details
    Browse the repository at this point in the history
  3. 🐛 fix(libft): update subproject commit hash

    🐛 fix(main.c): remove unnecessary initialization of tokens vector
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    02dfb7f View commit details
    Browse the repository at this point in the history
  4. 🔀 chore(libft): update subproject commit hash

    🐛 fix(main.c): fix memory leak by initializing tokens vector before each iteration
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    f5a7657 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02b94e5 View commit details
    Browse the repository at this point in the history
  6. 📝 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
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    eb4349f View commit details
    Browse the repository at this point in the history
  7. 🐛 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
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    3af23d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ed49ebd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    761a2cc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    43b3dbc View commit details
    Browse the repository at this point in the history
  11. 🐛 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
    LithiumOx committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b731b03 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    65a3005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a54318d View commit details
    Browse the repository at this point in the history
  3. 🔧 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
    LithiumOx committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    26a5da0 View commit details
    Browse the repository at this point in the history
  4. 🔀 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
    LithiumOx committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    28574ac View commit details
    Browse the repository at this point in the history
  5. 🐛 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
    LithiumOx committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    7d9a9e6 View commit details
    Browse the repository at this point in the history
  6. 🐛 fix(main.c): fix typo in variable name 't' to 'tokens'

    ✨ feat(main.c): add dynamic tokenization of input string
    LithiumOx committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9b29e5d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a1ca21d View commit details
    Browse the repository at this point in the history
  8. 🔀 chore(structs.h): update include statement for enum.h

    🔄 refactor(structs.h): update timestamp in file header comment
    LithiumOx committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    c9e353a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    07610cc View commit details
    Browse the repository at this point in the history
  2. 🐛 fix(lexer/index.c): fix memory leak in create_quote_string function

    🐛 fix(main.c): fix memory leak in main function
    LithiumOx committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    e207d98 View commit details
    Browse the repository at this point in the history
  3. makefile debugger, header define DEBUG

    Julius de Baaij committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    1a766bb View commit details
    Browse the repository at this point in the history
  4. 🔧 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
    LithiumOx committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    c677b86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5129774 View commit details
    Browse the repository at this point in the history
  6. 🔧 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 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    4b4cd9c View commit details
    Browse the repository at this point in the history
  7. 🔨 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
    LithiumOx committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    f750563 View commit details
    Browse the repository at this point in the history
  8. 🐛 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 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    ed0ec86 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. 🐛 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 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    db7eea9 View commit details
    Browse the repository at this point in the history
  2. 🐛 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
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    5b4cc2f View commit details
    Browse the repository at this point in the history
  3. 🐛 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
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    495a5f8 View commit details
    Browse the repository at this point in the history
  4. 🔧 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
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    505f16a View commit details
    Browse the repository at this point in the history
  5. 🐛 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 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    b255cc3 View commit details
    Browse the repository at this point in the history
  6. 🐛 fix(Makefile): remove unused file from source list

    🐛 fix(enum.h): reorder enum values to match their corresponding definitions
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    e3c5f82 View commit details
    Browse the repository at this point in the history
  7. 🐛 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 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    af8cc97 View commit details
    Browse the repository at this point in the history
  8. 🔧 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
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    335b2a4 View commit details
    Browse the repository at this point in the history
  9. 🐛 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 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    4c7d6ea View commit details
    Browse the repository at this point in the history
  10. 🐛 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`.
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    59ecb84 View commit details
    Browse the repository at this point in the history
  11. 🐛 fix(main.c): uncomment parser function call

    🔥 chore(main.c): remove commented out code
    🔀 merge(main.c): merge changes from mdekker/jde branch
    LithiumOx committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    6610f93 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9f30689 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. 🔨 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
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    6128e43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5aa4fd0 View commit details
    Browse the repository at this point in the history
  3. 🐛 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
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9a0fc6a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9713736 View commit details
    Browse the repository at this point in the history
  5. 🔥 refactor(main.c): remove unused code and commented out function

    🔒 chore(main.c): free g_data.env before exiting loop
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    45df33f View commit details
    Browse the repository at this point in the history
  6. 🐛 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
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    306131d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    decfc2c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba6ea2c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3c1311f View commit details
    Browse the repository at this point in the history
  10. 🐛 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
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    fef0dbd View commit details
    Browse the repository at this point in the history
  11. 🔧 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
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    8d9b484 View commit details
    Browse the repository at this point in the history
  12. 🔧 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
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    4f8fcb4 View commit details
    Browse the repository at this point in the history
  13. 🐛 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 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    2d6f421 View commit details
    Browse the repository at this point in the history
  14. 🔀 chore(libft): update libft submodule to commit 9cce6eca4ccf2b425ce0…

    …e600f499e15b3f2b8ece
    
    🗑️ chore(src): delete .DS_Store file
    LithiumOx committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    170f558 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. 🔧 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
    LithiumOx committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    70687a6 View commit details
    Browse the repository at this point in the history
  2. 🔀 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
    LithiumOx committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    aaa0485 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    826c91c View commit details
    Browse the repository at this point in the history
  4. 🐛 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
    LithiumOx committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    9c277d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. 🐛 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
    LithiumOx committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    31132d8 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. bugfix: lexer, fixed ignoring first character

    Julius De Baaij committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    a8e47f1 View commit details
    Browse the repository at this point in the history
  2. setup, no code

    Julius De Baaij committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    b74405b View commit details
    Browse the repository at this point in the history
  3. only setup+explanation

    Julius De Baaij committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    103c1ba View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. inbetween commit

    Julius De Baaij committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    3f031e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Configuration menu
    Copy the full SHA
    3f7500a View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. 🔧 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
    JdeBaaij committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    e503fc2 View commit details
    Browse the repository at this point in the history
  2. 🔧 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
    JdeBaaij committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    2bcbf3a View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. temp

    JdeBaaij committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    2d3d6d2 View commit details
    Browse the repository at this point in the history
  2. heredoc setup + structs

    Julius De Baaij committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    9cdba87 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. moving computer

    Julius De Baaij committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    28ee1bb View commit details
    Browse the repository at this point in the history
  2. switching pc

    Julius De Baaij committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    55ba96d View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. 🔧 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
    JdeBaaij committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    95bed6e View commit details
    Browse the repository at this point in the history
  2. temp

    Julius De Baaij committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    35b3dfa View commit details
    Browse the repository at this point in the history
  3. tmp

    Julius De Baaij committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    2dc96ba View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. 🐛 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
    JdeBaaij committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    68579d4 View commit details
    Browse the repository at this point in the history
  2. temp

    JdeBaaij committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    7d42904 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. 🔀 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'
    LithiumOx committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    682e11d View commit details
    Browse the repository at this point in the history
  2. 🐛 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
    LithiumOx committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    35008c9 View commit details
    Browse the repository at this point in the history
  3. 🐛 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
    LithiumOx committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    61ef2e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    c6e178f View commit details
    Browse the repository at this point in the history
  2. small fix on verify_token

    JdeBaaij committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    bed0180 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3007a2e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. brrrrrrrrrr

    Julius De Baaij committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    7063fbd View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. replacing global wiht t_shell data, passing data everywhere so it can…

    … be freed on exit)
    Julius De Baaij committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    0a1dad0 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. .

    JdeBaaij committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    502c594 View commit details
    Browse the repository at this point in the history
  2. 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 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    86ad7e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    17b9028 View commit details
    Browse the repository at this point in the history
  2. more todo

    JdeBaaij committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    90887f1 View commit details
    Browse the repository at this point in the history
  3. 🔧 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
    JdeBaaij committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    edabb67 View commit details
    Browse the repository at this point in the history
  4. lexer changed to bool

    JdeBaaij committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    bf94b4f View commit details
    Browse the repository at this point in the history