From 36444b69593008f40ee2d0b47c894e37428435ae Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Tue, 23 Mar 2021 23:57:16 -0400 Subject: found some bugs to deal with --- main.c | 6 ++++++ process-win.c | 3 ++- windows_installer/ted/ted/ted.vdproj | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 3bfd5f0..c30d86d 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,9 @@ +// @TODO: +// - bug involving load file when going to error (specifically, stuff like ./main.c) -- duplicate file opening +// - command to reload all (unsaved) buffers +// - terminate process not working on windows? +// - auto-regenerate tags (if no tag found/line number tag found) +// - comment/uncomment selection #include "base.h" no_warn_start #if _WIN32 diff --git a/process-win.c b/process-win.c index b24dd68..d36302b 100644 --- a/process-win.c +++ b/process-win.c @@ -79,6 +79,7 @@ long long process_read(Process *process, char *data, size_t size) { void process_kill(Process *process) { TerminateProcess(process->process_info.hProcess, 1); + TerminateThread(process->process_info.hThread, 1); CloseHandle(process->pipe_read); CloseHandle(process->pipe_write); CloseHandle(process->process_info.hProcess); @@ -107,4 +108,4 @@ int process_check_status(Process *process, char *message, size_t message_size) { process_kill(process); return -1; } -} \ No newline at end of file +} diff --git a/windows_installer/ted/ted/ted.vdproj b/windows_installer/ted/ted/ted.vdproj index b52b18c..c2dba5e 100644 --- a/windows_installer/ted/ted/ted.vdproj +++ b/windows_installer/ted/ted/ted.vdproj @@ -505,15 +505,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:ted" - "ProductCode" = "8:{CD90D1DE-A5D9-4A80-8598-783741445D25}" - "PackageCode" = "8:{E8F328D3-9601-4CDD-86E6-7EC6881B966B}" + "ProductCode" = "8:{E281ABEA-14D0-46C5-AFDB-BFF6F6617B3F}" + "PackageCode" = "8:{E3D40FEF-9758-436F-8B50-E63C8A309848}" "UpgradeCode" = "8:{844F6C2B-DF3B-4A81-9BD5-603401BBA651}" "AspNetVersion" = "8:2.0.50727.0" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:FALSE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:21.03.1605" + "ProductVersion" = "8:21.03.1809" "Manufacturer" = "8:ted" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" -- cgit v1.2.3