A new style desktop shell for Windows 11: menu bar, Dock, Finder, Spotlight, Control Center and Liquid Glass, in native C++.
Rust
Out-of-memory Force Quit window only with aviso_memoria=1 (user request); memory cleanup unchanged
Eternity070628fa3f115597e1
diff --git a/docs/registro-mudancas.txt b/docs/registro-mudancas.txtindex 3e4fe6d..9624c08 100644--- a/docs/registro-mudancas.txt+++ b/docs/registro-mudancas.txt@@ -2039,3 +2039,7 @@ Compilado (tudo), instalado, Shell e reserva do Finder reiniciados às 23:07 sem- Vigia de reinício do Shell: o C++ não tem (nada a mudar).Compilado (Ajustes e WacOSSetup). Nada publicado. Não testado: a troca ao vivo é o próximo teste, com o usuário.DESFAZER: reverter o commit e compilar (build.cmd ajustes e build.cmd setup).+[2026-11-27 16:37] Pedido do usuário (print da janela "Your system has run out of application memory"): memoria.cpp só+ abre o Forçar Encerrar na pressão crítica com o ajuste aviso_memoria=1 (padrão 0); a limpeza de memória continua. O+ mesmo no Rust (memoria.rs). Compilado; WacOSShell.exe copiado para a instalação (o C++ estava parado, o Rust no ar).+ DESFAZER: tirar o shell::Setting(L"aviso_memoria"...) da condição em memoria.cpp e compilar.diff --git a/src/shell/memoria.cpp b/src/shell/memoria.cppindex c91446f..a35a9f9 100644--- a/src/shell/memoria.cpp+++ b/src/shell/memoria.cpp@@ -328,7 +328,9 @@ void CALLBACK Tick(HWND, UINT, UINT_PTR, DWORD) {if (p.nivel != g_level) {Log(L"memoria: pressão %ls (disponível %.0f%%, commit %.0f%%)", p.nivel == 2 ? L"crítica" : p.nivel == 1 ? L"alta" : L"normal", p.livre * 100, p.commit * 100);if (p.nivel > g_level) Purge(p.nivel == 2 ? L"pressão crítica" : L"pressão alta");- if (p.nivel == 2 && (!g_lastForceQuit || now - g_lastForceQuit > 600000)) { g_lastForceQuit = now; shell::OpenForceQuit(true); }+ // a janela "Your system has run out of application memory" (Forçar Encerrar) só com aviso_memoria=1: o usuário+ // pediu para desligar (27/11/2026); a limpeza acima continua+ if (p.nivel == 2 && shell::Setting(L"aviso_memoria", L"0") == L"1" && (!g_lastForceQuit || now - g_lastForceQuit > 600000)) { g_lastForceQuit = now; shell::OpenForceQuit(true); }g_level = p.nivel;}static int k;