From a122ea1a738e6bede90ce2ffc8ab40f46935bb69 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 10 May 2016 13:59:02 -0400 Subject: [PATCH] readmes ready for a4.0.3 --- 4ed_file_view.cpp | 3 ++- README.txt | 19 +++++++++++++++- SUPERREADME.txt | 9 +++++++- package.bat | 56 +++++++++++++++++++++++++---------------------- 4 files changed, 58 insertions(+), 29 deletions(-) diff --git a/4ed_file_view.cpp b/4ed_file_view.cpp index 8a6d88ff..e4463e30 100644 --- a/4ed_file_view.cpp +++ b/4ed_file_view.cpp @@ -2131,8 +2131,9 @@ file_compute_whitespace_edit(Mem_Options *mem, Editing_File *file, i32 cursor_po i32 inv_str_pos = 0; Buffer_Invert_Batch state = {}; if (buffer_invert_batch(&state, &file->state.buffer, edits, edit_count, - inverse_array, inv_str, &inv_str_pos, inv_max)) + inverse_array, inv_str, &inv_str_pos, inv_max)){ Assert(0); + } i32 first_child = undo_children_push(general, &file->state.undo.children, diff --git a/README.txt b/README.txt index 551f1199..b9e2f5b9 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -Distribution Date: 24.03.2016 (dd.mm.yyyy) +Distribution Date: 10.05.2016 (dd.mm.yyyy) Thank you for contributing to the 4coder project! @@ -27,6 +27,23 @@ if you start digging and pressing hard enough. INSTRUCTIONS FOR USE ----------------------------------------------------- +****Changes in 4.0.3**** +4coder now uses 0% CPU when you are not using it. + +There is a scrollbar on files now. (It is not the nicest scrollbar to use in the world, +but the real purpose it serves is to indicate where in a file you are. I imagine most +scrolling will still happen with the wheel or cursor navigation.) + +File lists are now arrow navigatable and scrollable... these two systems do no work +together very well yet. + +Color adjusting is possible again, but the UI is heavily downgraded from the fancieness +of the old system. + +While editing: +alt + Z: execute command line with the same output buffer and same command + as in the previous use of "alt + z". + ****Changes in 4.0.2**** The previous file limit of 128 has been raised to something over 8 million. diff --git a/SUPERREADME.txt b/SUPERREADME.txt index 982f9bd2..eadd7617 100644 --- a/SUPERREADME.txt +++ b/SUPERREADME.txt @@ -1,4 +1,4 @@ -Distribution Date: 24.03.2016 (dd.mm.yyyy) +Distribution Date: 10.05.2016 (dd.mm.yyyy) Thank you for contributing to the 4coder project! @@ -27,6 +27,13 @@ See comments in 4coder_default_bindings.cpp for more detailed information. Functions to implement (optional in the dll, but required if you are using buildsuper.bat): get_bindings +NEW IN 4.0.3: +================ +The build system for customizations has been changed. There is no longer a 4coder_custom.cpp. +Instead the default customizations are in 4coder_default_bindings.cpp. The batch file takes a parameter +that tells it what file to treat as the target for building, if the parameter is not defined it defaults to +4coder_default_bindings.cpp. + NEW IN 4.0.2: ================ #include "4coder_default.cpp" at the top of your own file to get a lot of the default functions diff --git a/package.bat b/package.bat index 099fbd8e..93661d83 100644 --- a/package.bat +++ b/package.bat @@ -1,32 +1,36 @@ @echo off -pushd W:\4ed -call "misc\build_all.bat" /O2 -copy build\4ed.exe current_dist\4coder\* -copy build\4ed_app.dll current_dist\4coder\* -copy data\* current_dist\4coder\* -copy code\README.txt current_dist\4coder\* -copy code\TODO.txt current_dist\4coder\* -del current_dist\4coder\basic.cpp +pushd W:\4ed\code +call "build_all.bat" /O2 +copy ..\build\4ed.exe ..\current_dist\4coder\* +copy ..\build\4ed.pdb ..\current_dist\4coder\* +copy ..\build\4ed_app.dll ..\current_dist\4coder\* +copy ..\build\4ed_app.pdb ..\current_dist\4coder\* +copy ..\data\* ..\current_dist\4coder\* +copy README.txt ..\current_dist\4coder\* +copy TODO.txt ..\current_dist\4coder\* +del ..\current_dist\4coder\basic.cpp -call "misc\build_all.bat" /O2 /DFRED_SUPER -copy build\4ed.exe current_dist_super\4coder\* -copy build\4ed_app.dll current_dist_super\4coder\* -copy code\buildsuper.bat current_dist_super\4coder\* -copy data\* current_dist_super\4coder\* -del current_dist_super\4coder\basic.cpp -copy code\4coder_*.h current_dist_super\4coder\* -copy code\4coder_*.cpp current_dist_super\4coder\* -copy code\README.txt current_dist_super\4coder\* -copy code\TODO.txt current_dist_super\4coder\* -copy code\SUPERREADME.txt current_dist_super\4coder\* -copy current_dist\4coder\3rdparty\* current_dist_super\4coder\3rdparty\* -del current_dist_super\4coder\*.pdb -del current_dist_super\4coder\*.lib -del current_dist_super\4coder\*.obj -del current_dist_super\4coder\4coder_custom.dll +call "build_all.bat" /O2 /DFRED_SUPER +copy ..\build\4ed.exe ..\current_dist_super\4coder\* +copy ..\build\4ed.pdb ..\current_dist_super\4coder\* +copy ..\build\4ed_app.dll ..\current_dist_super\4coder\* +copy ..\build\4ed_app.pdb ..\current_dist_super\4coder\* +copy buildsuper.bat ..\current_dist_super\4coder\* +copy ..\data\* ..\current_dist_super\4coder\* +del ..\current_dist_super\4coder\basic.cpp +copy 4coder_*.h ..\current_dist_super\4coder\* +copy 4coder_*.cpp ..\current_dist_super\4coder\* +copy README.txt ..\current_dist_super\4coder\* +copy TODO.txt ..\current_dist_super\4coder\* +copy SUPERREADME.txt ..\current_dist_super\4coder\* +copy ..\current_dist\4coder\3rdparty\* ..\current_dist_super\4coder\3rdparty\* +del ..\current_dist_super\4coder\*.pdb +del ..\current_dist_super\4coder\*.lib +del ..\current_dist_super\4coder\*.obj +del ..\current_dist_super\4coder\4coder_custom.dll -del current_dist_power\power\* /F /Q -copy code\power\* current_dist_power\power\* +del ..\current_dist_power\power\* /F /Q +copy power\* ..\current_dist_power\power\* popd \ No newline at end of file