diff --git a/src/dbgi/dbgi.c b/src/dbgi/dbgi.c index 99bcbef6..24d4e718 100644 --- a/src/dbgi/dbgi.c +++ b/src/dbgi/dbgi.c @@ -653,7 +653,7 @@ dbgi_parse_thread_entry_point(void *p) } if(os_now_microseconds()-start_wait_t > 10000000 && og_dbg_props.size < MB(64)) { - os_graphical_message(1, str8_lit("RADDBG INTERNAL DEVELOPMENT MESSAGE"), str8_lit("this is taking a while... indicative of something that seemed like a bug that Jeff hit before. attach with debugger now & see where the callstack is?")); + // os_graphical_message(1, str8_lit("RADDBG INTERNAL DEVELOPMENT MESSAGE"), str8_lit("this is taking a while... indicative of something that seemed like a bug that Jeff hit before. attach with debugger now & see where the callstack is?")); } } } diff --git a/src/df/core/df_core.c b/src/df/core/df_core.c index adc8b628..346fdd12 100644 --- a/src/df/core/df_core.c +++ b/src/df/core/df_core.c @@ -7124,7 +7124,6 @@ df_core_begin_frame(Arena *arena, DF_CmdList *cmds, F32 dt) case DF_CoreCmdKind_LoadUser: case DF_CoreCmdKind_LoadProfile: { - String8 new_path = params.file_path; B32 load_cfg[DF_CfgSrc_COUNT] = {0}; for(DF_CfgSrc src = (DF_CfgSrc)0; src < DF_CfgSrc_COUNT; src = (DF_CfgSrc)(src+1)) { @@ -7137,7 +7136,8 @@ df_core_begin_frame(Arena *arena, DF_CmdList *cmds, F32 dt) if(load_cfg[src]) { arena_clear(df_state->cfg_path_arenas[src]); - df_state->cfg_paths[src] = path_normalized_from_string(df_state->cfg_path_arenas[src], params.file_path); + String8 new_path = path_normalized_from_string(df_state->cfg_path_arenas[src], params.file_path); + df_state->cfg_paths[src] = new_path; } } @@ -7179,7 +7179,7 @@ df_core_begin_frame(Arena *arena, DF_CmdList *cmds, F32 dt) B32 cfg_load_any = 0; for(DF_CfgSrc src = (DF_CfgSrc)0; src < DF_CfgSrc_COUNT; src = (DF_CfgSrc)(src+1)) { - cfg_load[src] = (load_cfg[src] && ((cfg_save[src] == 0 && df_state->cfg_cached_timestamp[src] != cfg_timestamps[src]) || cfg_files[src]->timestamp == 0)); + cfg_load[src] = (load_cfg[src] && cfg_timestamps[src] != 0 && ((cfg_save[src] == 0 && df_state->cfg_cached_timestamp[src] != cfg_timestamps[src]) || cfg_files[src]->timestamp == 0)); cfg_load_any = cfg_load_any || cfg_load[src]; } diff --git a/src/df/gfx/df_gfx.c b/src/df/gfx/df_gfx.c index d22199b8..9d6bc2b3 100644 --- a/src/df/gfx/df_gfx.c +++ b/src/df/gfx/df_gfx.c @@ -4334,7 +4334,6 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D { DF_CoreCmdKind cmds[] = { - DF_CoreCmdKind_Commands, DF_CoreCmdKind_Targets, DF_CoreCmdKind_Scheduler, DF_CoreCmdKind_CallStack, @@ -4353,7 +4352,6 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D }; U32 codepoints[] = { - 'c', 't', 's', 'k', @@ -4455,9 +4453,22 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D UI_Key help_menu_key = ui_key_from_string(ui_key_zero(), str8_lit("_help_menu_key_")); UI_CtxMenu(help_menu_key) UI_PrefWidth(ui_em(40.f, 1.f)) { - ui_label(str8_lit_comp(RADDBG_TITLE_STRING_LITERAL)); - ui_spacer(ui_em(0.75f, 1.f)); - ui_label_multiline(ui_top_font_size()*40.f, str8_lit("If you run into issues, please submit them to the GitHub at:")); + UI_Row UI_TextAlignment(UI_TextAlign_Center) UI_TextColor(df_rgba_from_theme_color(DF_ThemeColor_WeakText)) ui_label(str8_lit_comp(RADDBG_TITLE_STRING_LITERAL)); + ui_spacer(ui_em(0.25f, 1.f)); + UI_Row + UI_PrefWidth(ui_text_dim(10, 1)) + UI_TextAlignment(UI_TextAlign_Center) + UI_Padding(ui_pct(1, 0)) + { + ui_labelf("Search for commands by pressing "); + DF_CmdSpec *spec = df_cmd_spec_from_core_cmd_kind(DF_CoreCmdKind_Commands); + UI_TextColor(df_rgba_from_theme_color(DF_ThemeColor_PlainText)) + UI_Flags(UI_BoxFlag_DrawBorder) + UI_TextAlignment(UI_TextAlign_Center) + df_cmd_binding_button(spec); + } + ui_spacer(ui_em(0.25f, 1.f)); + UI_Row UI_TextAlignment(UI_TextAlign_Center) ui_label(str8_lit("Submit issues to the GitHub at:")); UI_TextAlignment(UI_TextAlign_Center) { UI_Signal url_sig = ui_buttonf("github.com/EpicGames/raddebugger"); diff --git a/src/raddbg/raddbg.cpp b/src/raddbg/raddbg.cpp index 7eb50fed..409a961f 100644 --- a/src/raddbg/raddbg.cpp +++ b/src/raddbg/raddbg.cpp @@ -21,9 +21,6 @@ //~ rjf: Hot, High Priority Tasks (Complete Unusability, Crashes, Fire-Worthy) // // [ ] ** Thread/process control bullet-proofing, including solo-step mode -// [ ] ** Converter performance & heuristics for asynchronously doing it early -// [ ] ** high refresh rate, but consistently missing tight frame deadline, -// animation // [ ] ** ASAN targets // [ ] ** prevent overwriting non-config files when choosing config paths // [ ] ** while typing, "Alt" Windows menu things should not happen @@ -53,6 +50,8 @@ // [ ] Setting the code_font/main_font values to a font name doesn't work. // Should probably make note that you have to set it to a path to a TTF, // since that's not normally how Windows fonts work. + +// [ ] ** Converter performance & heuristics for asynchronously doing it early // // [ ] disasm animation & go-to-address // @@ -214,6 +213,8 @@ // [ ] run-to-line needs to work if no processes are running // - place temp bp, attach "die on hit" flag or something like that? // [ ] auto-scroll output window +// +// [ ] C++ single & multi inheritance member visualization in watch window //////////////////////////////// //~ rjf: Hot, Low Priority Tasks (UI Opinions, Less-Serious Jank, Preferences, Cleanup)