Commit Graph
100 Commits
Author SHA1 Message Date
Ryan Fleury 09db3aacd0 formally split dbg engine/frontend commands; float entity operations & all ui-related operations up to frontend layer, keep engine to small set of control operations (we are trying to get the engine out of the mix in managing entity state) 2024-09-10 11:37:01 -07:00
Ryan Fleury 6534bff5d0 eliminate state delta history experiment codef 2024-09-10 07:24:33 -07:00
Ryan Fleury baaa853c7f dead code & unnecessary helper elimination 2024-09-08 16:49:27 -07:00
Ryan Fleury 8831781af4 reorder top-level frame structure; frontend gets chance first 2024-09-08 14:28:06 -07:00
Ryan Fleury dfe0c17b89 oops; fix incorrect usage of thread instead of process entity 2024-09-08 13:16:57 -07:00
Ryan Fleury 6cf0c7ee92 promote thread freeze state to ctrl entity tree; communicate via msgs for user -> ctrl, and communicate entity state changes back via events for ctrl -> user 2024-09-08 13:09:52 -07:00
Ryan Fleury fee500578a get trap net generation off of d_entities and onto ctrl entities; decouple debug engine stepping/running from d_entities 2024-09-08 10:50:00 -07:00
Ryan Fleury 43b83b56f1 float eval system preparation to frontend & out of engine 2024-09-08 10:30:05 -07:00
Ryan Fleury 9b95e60894 feed flattened breakpoints into ctrl message instead of entities 2024-09-08 10:26:14 -07:00
Ryan Fleury 2272b4a14c eliminate d_ctrl_run helper intermediate; switch to using simplified passdown types for breakpoints, rather than entities, in ctrl run parameterization 2024-09-08 10:23:32 -07:00
Ryan Fleury 6b172396f5 eliminate messages - too early for that change; eliminate many usage sites of d_ctrl_run; focus all ctrl thread driving code into one spot 2024-09-08 10:12:10 -07:00
Ryan Fleury 2cc81baffa sketch out simplified input types for engine; port over animation cache from reverted changes 2024-09-08 09:44:39 -07:00
Ryan Fleury a204018e94 Revert "checkpoint on pass to majorly simplify debug frontend state, and eliminate df entities, and move from cmds -> msgs"
This reverts commit 06a685221a.
2024-09-07 14:50:27 -07:00
Ryan Fleury 3ed8f4af98 Revert "begin sketching out live cfg mutation code, as replacement for frontend entity tree formation/mutation"
This reverts commit c8c9c7ea27.
2024-09-07 14:48:47 -07:00
Ryan Fleury 5ffab0439b Revert "more msgs -> cmds & df entity elimination progress"
This reverts commit 9968c6e491.
2024-09-07 14:48:42 -07:00
Ryan Fleury cccbd265ff Revert "another checkpoint in big df entity elimination pass"
This reverts commit f8fd32e328.
2024-09-07 14:48:34 -07:00
Ryan Fleury 6180da1b0f Revert "yet another checkpoint"
This reverts commit 5ad8d523ba.
2024-09-07 14:48:29 -07:00
Ryan Fleury 30766f93ae Revert "checkpoint"
This reverts commit 3631de648b.
2024-09-07 14:48:21 -07:00
Ryan Fleury 3631de648b checkpoint 2024-09-07 13:37:35 -07:00
Ryan Fleury 5ad8d523ba yet another checkpoint 2024-09-05 19:19:00 -07:00
Ryan Fleury f8fd32e328 another checkpoint in big df entity elimination pass 2024-09-04 15:50:59 -07:00
Ryan Fleury 9968c6e491 more msgs -> cmds & df entity elimination progress 2024-09-03 16:50:16 -07:00
Ryan Fleury c8c9c7ea27 begin sketching out live cfg mutation code, as replacement for frontend entity tree formation/mutation 2024-09-03 15:20:04 -07:00
Ryan Fleury 06a685221a checkpoint on pass to majorly simplify debug frontend state, and eliminate df entities, and move from cmds -> msgs 2024-09-03 12:46:30 -07:00
Ryan Fleury 6b02c8a7d6 more progress on converting cmds codepaths -> msgs codepaths 2024-09-01 16:20:26 -07:00
Ryan Fleury 06f65857db more progress in df cmds -> msgs 2024-09-01 15:49:06 -07:00
Ryan Fleury 6ead03ac17 strip out update/render/repaint window cruft; promote layer per-tick APIs to base layer 2024-09-01 09:00:58 -07:00
Ryan Fleury 98840c73d8 finish initial pass over df msgs 2024-09-01 08:39:18 -07:00
Ryan Fleury 45d3702c5b further progress on cmds -> msgs in debug frontend 2024-08-31 09:02:42 -07:00
Ryan Fleury 2696c96f75 continue coalescing df frame 2024-08-31 07:36:53 -07:00
Ryan Fleury 7645d00392 eliminate more cruft in engine/frontend layers; sketch out new frontend msg processing loop 2024-08-30 18:08:29 -07:00
Ryan Fleury 7004994b25 sketch out msg processing loop, to replace cmd processing loop, in dbg engine 2024-08-30 17:52:45 -07:00
Ryan Fleury 8770a43678 set up scaffolding for dbg engine/frontendm sgs 2024-08-30 15:24:35 -07:00
Ryan Fleury 533fd0041f begin flattening d/df tick paths 2024-08-30 14:10:12 -07:00
Ryan Fleury 2ceff4293f begin eliminating begin/end frame concept in debug engine, and moving to single debug engine tick 2024-08-30 12:24:47 -07:00
Ryan Fleury 13f2de6e88 d regs -> mdesk 2024-08-30 10:07:56 -07:00
Ryan Fleury ecf9cd1dab fix markup vsnprintf fwd declare warning 2024-08-30 09:33:54 -07:00
Ryan Fleury b0d10d457e notes 2024-08-29 17:14:50 -07:00
Ryan Fleury e1806d2d61 notes 2024-08-29 17:02:26 -07:00
Ryan Fleury facf0dafe6 move remaining per-window cmds to top-level 2024-08-29 16:29:10 -07:00
Ryan Fleury 37f771ae9b begin moving all frontend command processing into top-level layer, rather than doing it per-window 2024-08-29 16:24:15 -07:00
Ryan Fleury 84bc078e9f watch commands -> core layer 2024-08-29 15:54:10 -07:00
Ryan Fleury df777a4c07 eliminate old code slice cruft 2024-08-29 13:39:53 -07:00
Ryan Fleury e81fbe4bf2 eliminate old code; organization pass over dbg frontend 2024-08-29 13:37:28 -07:00
Ryan Fleury 9932a30ef9 entity parameter tree equipment; architecture -> arch 2024-08-29 13:16:50 -07:00
Ryan Fleury df6150c811 always produce inheritance child cfg tables for each viz block 2024-08-29 12:48:54 -07:00
Ryan Fleury 719c453bfc eliminate old type 2024-08-29 11:57:57 -07:00
Ryan Fleury 0f4d2cfbc1 entity name -> string 2024-08-29 11:48:55 -07:00
Ryan Fleury bb553b4ec0 eliminate manual notification of entity / panel mutations for soft halts & config changes; just compute a hash of all run parameterization state every time you run, and every frame, and if they change, soft halt refresh 2024-08-29 11:34:29 -07:00
Ryan Fleury 9bba4f224c ctrl flow analysis -> dasm layer 2024-08-29 10:58:16 -07:00
Ryan Fleury 5907783a2e d_interact_regs -> d_regs 2024-08-29 10:54:54 -07:00
Ryan Fleury 4944652331 introduce debug engine entity kinds for windows/panels/tabs, to begin process of formally moving all view parameterizations to watch entities; eliminate redundant passthrough of window/panel parameters 2024-08-29 10:49:35 -07:00
Ryan Fleury e9304b5eff parameter tree editing in tab right-click menu 2024-08-28 17:54:49 -07:00
Ryan Fleury 61a264e20c fix empty language option in autocompletion lister 2024-08-28 17:22:27 -07:00
Ryan Fleury 4439aab721 split more frontend-only information from debug engine core definitions 2024-08-28 17:14:59 -07:00
Ryan Fleury 1c62787758 dbg_gfx -> dbg_frontend; fix force-confirm commands; more naming passes 2024-08-28 16:59:21 -07:00
Ryan Fleury 269abf661f switch to simplified debug engine command interface; rely on interact registers, rather than explicit pass-down, for contextually-obvious parameters 2024-08-28 16:47:05 -07:00
Ryan Fleury e3dc29d7ae push_cmd__root -> push_cmd 2024-08-28 15:37:55 -07:00
Ryan Fleury cb25e261e4 eliminate all cmd param slot marking 2024-08-28 15:37:03 -07:00
Ryan Fleury 818c5a9160 eliminate dependence on 'command parameter slots' 2024-08-28 15:34:46 -07:00
Ryan Fleury c60809f02b df -> dbg_engine and dbg_gfx layers; df (core) -> d 2024-08-28 15:16:55 -07:00
Ryan Fleury ca4b602b28 f -> fnt 2024-08-28 13:45:54 -07:00
Ryan Fleury 83542d4010 re-slice views code; begin prepping for view rules / views being organized together 2024-08-28 13:38:49 -07:00
Ryan Fleury 01236ca3b9 make all view, core view rule, and gfx view rule names completely consistent, use the name as the unique key among all tables 2024-08-28 13:11:00 -07:00
Ryan Fleury 31810bb221 fix incorrect lifetime of cfg table trees 2024-08-28 12:01:19 -07:00
Ryan Fleury 22c4336375 finish trimming old view rule code; get 3d geometry viewer back in good shape and integrated as a full view 2024-08-28 11:36:44 -07:00
Ryan Fleury 5ff9e47f8a fix loading in transient views 2024-08-27 17:18:42 -07:00
Ryan Fleury d956f7a266 view rule table notes 2024-08-27 16:46:19 -07:00
Ryan Fleury 0c2502c89f partway through fixing regressions of color view rule 2024-08-27 16:35:15 -07:00
Ryan Fleury be93968c8d fix incorrect resource kind string table; fix incorrect usage of resource kind table when doing texture format lookups in bitmap view 2024-08-27 15:48:27 -07:00
Ryan Fleury 32ac4f10bb support loading overlay in transient views; fix incorrect transient view state caching when view parameters change 2024-08-27 15:23:19 -07:00
Ryan Fleury 59360f770c file drop support 2024-08-27 14:49:57 -07:00
Ryan Fleury 32fcc6d34c expand pending file view to actually analyze files a bit before picking appropriate viewer; for now just do code if text, memory if not 2024-08-27 14:27:14 -07:00
Ryan Fleury 645db07493 add memory view rule; adjust memory view to appropriately use eval parameterizations, so that it can be used as a view rule correctly 2024-08-27 13:47:38 -07:00
Ryan Fleury 4b75145ec0 only consider non-queried disassembly views in general-purpose find-code-locationp ath 2024-08-27 13:08:32 -07:00
Ryan Fleury e59e014b2b shift disassembly view to being usable as a view rule too; arbitrary disassembly view parameterization 2024-08-27 13:00:21 -07:00
Ryan Fleury 08652e8b0a cast view rule 2024-08-27 11:46:54 -07:00
Ryan Fleury 511e81b188 eliminate eval resolution stage; we can just use expr resolution stage for everything 2024-08-27 11:39:46 -07:00
Ryan Fleury 90273e7a2e bswap view rule 2024-08-27 11:37:27 -07:00
Ryan Fleury cf7b664ab2 bswap expression & ir 2024-08-27 11:35:45 -07:00
Ryan Fleury accc77e03e eliminate type resolution eval viz stage (can just be done via the expr resolution stage, which is more powerful); fix elements expansion for non-pointers 2024-08-27 11:17:05 -07:00
Ryan Fleury 5b29f0db47 new expr resolution eval visualization stage; use to implement array & slice view rules 2024-08-27 11:04:22 -07:00
Ryan Fleury a97c8bd070 fix new param tree generation; stop string viz for padding members; fix relative file path serialization in new cfg saving path 2024-08-27 09:13:28 -07:00
Ryan Fleury 6a8c110b83 remove old cursor/mark decls 2024-08-26 16:15:28 -07:00
Ryan Fleury c97c351508 move cursor/mark state out of being hardcoded in view, and into param tree 2024-08-26 16:13:50 -07:00
Ryan Fleury 567aea2b15 new view serialized/deserialized params storage 2024-08-26 15:55:12 -07:00
Ryan Fleury 895c4dd199 fix press detection in watch view canvases 2024-08-26 15:16:23 -07:00
Ryan Fleury 3691b59af3 set up system for per-view param tree mutations; fix duplicate param key serialization 2024-08-26 15:13:53 -07:00
Ryan Fleury ec16f59a1e fix incorrect usage of new ui events pump 2024-08-26 14:34:24 -07:00
Ryan Fleury c16e21db71 eliminate dead code 2024-08-26 14:27:51 -07:00
Ryan Fleury 1de57557b5 get off cfg node duplicates of mdesk trees; use md trees for params consistently across view rules, tabs, etc. 2024-08-26 14:26:23 -07:00
Ryan Fleury aed18eb71c eliminate string-from-state function for view specs - we will be doing everything via the cfg tree; clean up & fix view titles for all of the different visualizer circumstances; do general path for serializing cfg trees for each view 2024-08-26 11:26:34 -07:00
Ryan Fleury 14f617db85 begin eliminating separate hook system for view rule uis; shift over to regular views, so there is just one codepath for all visualizers; move ui to event pump system, with permissions stack, so that callers of sub-ui-codepaths can mask off event consumption as needed 2024-08-26 09:56:47 -07:00
Ryan Fleury 74471e4b8d fix tab title rules; fix watch keyboard navigation with new dynamic columns 2024-08-26 06:12:42 -07:00
Ryan Fleury 43eac9f332 add entity labels to macro map 2024-08-23 16:28:09 -07:00
Ryan Fleury 729a4aa1f9 first step to collapsing separate view parameterization path, and just having views be parameterized by evaluation strings 2024-08-23 16:17:19 -07:00
Ryan Fleury e395ef42a1 eval system syntax for opaque id evaluations 2024-08-23 14:45:48 -07:00
Ryan Fleury 8ae8e2f943 extend file streaming cache to support range-based file stream queries; begin plugging in file stream queries as alternative to ctrl stream queries; further bugfixes & unification in eval system 2024-08-23 12:29:52 -07:00
Ryan Fleury ff922fa087 fix expandability/block/row building for block ui view rules 2024-08-22 17:11:12 -07:00
Ryan Fleury 47462f4789 first pass at filesystem evaluation in eval system 2024-08-22 16:55:07 -07:00