diff --git a/custom/4coder_project_commands.cpp b/custom/4coder_project_commands.cpp index 6fd5b48a..9f736d8d 100644 --- a/custom/4coder_project_commands.cpp +++ b/custom/4coder_project_commands.cpp @@ -526,8 +526,8 @@ prj_setup_scripts(Application_Links *app, Prj_Setup_Script_Flags flags){ status = prj_file_is_setup(app, script_path, string_u8_litexpr("build")); needs_to_do_work = !status.project_exists || - (do_bat_script && !status.bat_exists) || - (do_sh_script && !status.sh_exists); + (do_bat_script && !status.bat_exists) || + (do_sh_script && !status.sh_exists); } else{ needs_to_do_work = true; @@ -963,7 +963,7 @@ CUSTOM_DOC("Looks for a project.4coder file in the current directory and tries t // NOTE(allen): Set Window Title Variable_Handle proj_name_var = vars_read_key(prj_var, vars_save_string_lit("project_name")); - String_ID proj_name_id = vars_key_id_from_var(proj_name_var); + String_ID proj_name_id = vars_string_id_from_var(proj_name_var); if (proj_name_id != 0){ String8 proj_name = vars_read_string(scratch, proj_name_id); String8 title = push_u8_stringf(scratch, "4coder project: %.*s", string_expand(proj_name)); diff --git a/custom/4coder_version.h b/custom/4coder_version.h index 154e892f..da56b719 100644 --- a/custom/4coder_version.h +++ b/custom/4coder_version.h @@ -1,6 +1,6 @@ #define MAJOR 4 #define MINOR 1 -#define PATCH 7 +#define PATCH 8 // string #define VN__(a,b,c) #a "." #b "." #c diff --git a/ship_files/changes.txt b/ship_files/changes.txt index 2a54bf91..3edf4ebf 100644 --- a/ship_files/changes.txt +++ b/ship_files/changes.txt @@ -1,4 +1,20 @@ +4.1.8 + + On command line "-U " sets the user directory + + On command line "-L" "> log.txt" to get a startup log + + The 4coder_fleury layer is now bundled with 4coder; run with '4ed -U 4coder_fleury' + + New commands 'project_command_F1' ... 'project_command_F16' can be directly bound + in key bindings. + + In a project "fkey_command_override" can contain labeled sets ".name = { ... }" + which override the fkey commands for a particular user; + "user_name" from config.4coder is used to decide which override set to apply + + Fix: indent bug inside parantheses + + Fix: window title after project loading works again + + Fix: parsing the parameter of #include + + Fix: handle spaces in buildsuper build paths + + Fix: make backspace alphanumeric boundary work on UTF-8 + + Fix: push_buffer_line now cuts out an extra carriage return at the end + 4.1.7 + Core string hash features "save_string" "read_string" + Added lookup acceleration to code index data